> xtabs(~Name, data = trees)
> summary(trees$Diam)
> mean(trees$Diam, na.rm=TRUE)
> install.packages("pastecs"); library(pastecs)
> options(digits=4)
> stat.desc(trees)
> install.packages("psych"); library(psych)
> describe(trees)
> install.packages("Hmisc"); library(Hmisc)
> describe(trees)
This reports descriptive stats for tree species subgroups
> describeBy(trees$Diam, group = trees$Name)
|