Pues no lo sé. Es algo del código de RandomForest, supongo.
Quoting Jesús Para Fernández <j.para.fernan...@hotmail.com>:
U es un dataframe?
Obtener Outlook para Android<https://aka.ms/ghei36>
________________________________
From: R-help-es <r-help-es-boun...@r-project.org> on behalf of
Manuel Mendoza <mmend...@mncn.csic.es>
Sent: Wednesday, June 27, 2018 12:25:10 PM
To: r-help-es@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@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
_______________________________________________
R-help-es mailing list
R-help-es@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-help-es