Skip to content
Prev 268940 / 398502 Next

How to get the descriptive statistic of the whole dataframe?

look into the *apply series of functions. In your case

apply(name.of.your.data.frame,2,min)

or 

apply(name.of.your.data.frame,2,max)

will do. You can also put any summary function to your liking instead of
min/max.

Best,
Daniel
Lao Meng wrote:
--
View this message in context: http://r.789695.n4.nabble.com/How-to-get-the-descriptive-statistic-of-the-whole-dataframe-tp3751857p3752007.html
Sent from the R help mailing list archive at Nabble.com.