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) .......
Thanks,
Mihai Nica Jackson State University 155 B Parkhurst Dr. Jackson, MS 39202 601 969 5423 601 914 0361 [[alternative HTML version deleted]]
Besides a standard summary( ), one of many ways is to use the Hmisc package. See http://biostat.mc.vanderbilt.edu/s/Hmisc/html/summary.formula.html
http://biostat.mc.vanderbilt.edu/twiki/pub/Main/StatReport/summary.pdf http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/SdataManip
-- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University
______________________________________________ [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