Thanks! I got the results! Now I would like to put them in a nice and readable plot to see if there are outlier means or variances. Using "plot(by_many$mean)" I got "Error in by_many$mean : object of type 'closure' is not subsettable".
Another question: I have done the principal components analysis on the same group of variables (V1--V5) I used before. I'd like to get a similar descriptive analysis of these principal components by variable V. Correct me if I am wrong; should I run it on the scores of the 2 or 3 principal components I obtained in the PCA? -- View this message in context: http://r.789695.n4.nabble.com/descriptive-statistics-tp3085197p3086849.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.