[R-es] error en un cmeans

Jorge I Velez jorgeiv@nvelez @ending from gm@il@com
Mie Jun 27 22:41:49 CEST 2018


Manuel,
Mira
https://www.rdocumentation.org/packages/e1071/versions/1.6-8/topics/cmeans
No debes incluir “i” en cmeans().
Saludos,
Jorge.-

Sent from my phone. Please excuse my brevity and misspeling.


El El mié, 27 de jun. de 2018 a las 9:33 a. m., Manuel Mendoza <
mmendoza using mncn.csic.es> escribió:

>
> 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
>
> _______________________________________________
> R-help-es mailing list
> R-help-es using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-help-es
>
-- 
Sent from my phone. Please excuse my brevity and misspelling.

	[[alternative HTML version deleted]]



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