[R] Re : Re : descriptive statistics
effeesse
scarpino86 at gmail.com
Mon Dec 13 17:17:51 CET 2010
what am I supposed to put into function(x)? The indicator for extracting the
subgroups?
data is the df. cluster={1,...,14}.
This is how I was compiling:
"for (i in 1:14) {
my.summary<-data$cluster==i c(mean(?),var(?))
summary(var_A~cluster, fun=my.summary,data=data)
summary(var_B~cluster, fun=my.summary,data=data)
summary(var_C~cluster, fun=my.summary,data=data)
summary(var_D~cluster, fun=my.summary,data=data)
summary(var_E~cluster, fun=my.summary,data=data)
summary(var_F~cluster, fun=my.summary,data=data)
summary(var_G~cluster, fun=my.summary,data=data)
}"
thanks for your patience.
--
View this message in context: http://r.789695.n4.nabble.com/descriptive-statistics-tp3085197p3085651.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list