Mihai Nica wrote:
Greetings:
I would like to make a table with descriptive statistics for a data.frame. I guess the question is how can I put together, in a table, the results from, say:
apply(df, 2, mean, na.rm =T) apply(df, 2, median, na.rm =T) .......
Well, summary(df) already does it.
If you want something different, see the code of summary() (simply type: summary.data.frame) as an example ...
Uwe Ligges
Thanks,
Mihai Nica Jackson State University 155 B Parkhurst Dr. Jackson, MS 39202 601 969 5423 601 914 0361 [[alternative HTML version deleted]]
______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html