[R-es] error en un cmeans

Manuel Mendoza mmendoz@ @ending from mncn@c@ic@e@
Mie Jun 27 16:33:39 CEST 2018


Pues no lo sé. Es algo del código de RandomForest, supongo.



Quoting Jesús Para Fernández <j.para.fernandez using hotmail.com>:

> U es un dataframe?
>
> Obtener Outlook para Android<https://aka.ms/ghei36>
>
> ________________________________
> From: R-help-es <r-help-es-bounces using r-project.org> on behalf of  
> Manuel Mendoza <mmendoza using mncn.csic.es>
> Sent: Wednesday, June 27, 2018 12:25:10 PM
> To: r-help-es using r-project.org
> Subject: [R-es] error en un cmeans
>
>
> Tuve que dejar, de momento, lo del "loop con matriz que cambia de
> nombre" por algo más urgente, y me salió otro problema.
>
> Hago un cmeans con el paquete e1071;
>
>    cl<-cmeans(Data,i,20,verbose=F,method="cmeans",m=2)
>
>   y me da este error: Error in apply(u, 1, which.max) : dim(X) must
> have a positive length.
>
> Estoy harto de usar esa línea de código, con dfs iguales a la de
> ahora, por lo que no entiendo por qué falla.
>
> Gracias,
> Manuel
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> .
>
>
> --
> Dr Manuel Mendoza
> Department of Biogeography and Global Change
> National Museum of Natural History (MNCN)
> Spanish Scientific Council (CSIC)
> C/ Serrano 115bis, 28006 MADRID
> Spain
>
> _______________________________________________
> R-help-es mailing list
> R-help-es using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-help-es


-- 
Dr Manuel Mendoza
Department of Biogeography and Global Change
National Museum of Natural History (MNCN)
Spanish Scientific Council (CSIC)
C/ Serrano 115bis, 28006 MADRID
Spain



Más información sobre la lista de distribución R-help-es