The R Project SVN R

Rev

Rev 3926 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

\name{plants}
\alias{plants}
\title{Results from an Experiment on Plant Growth}
\usage{data(plants)}
\description{
    Results from an experiment to compare yields (as measured by dried
    weight of plants) obtained under a control and two different
    treatment conditions.
}
\format{
    A data frame of 30 cases on 2 variables.
    \tabular{rll}{
    [, 1] \tab weight \tab numeric \cr
    [, 2] \tab group  \tab factor
    }
    The levels of \code{group} are `ctrl', `trt1', and `trt2'.
}
\examples{
## One factor ANOVA example from Dobson's book, cf. Table 7.4:
data(plants)
anova(lm(weight ~ group, data = plants))
}
\source{
    Dobson, A. J. (1983).
    \emph{An Introduction to Statistical Modelling}.
    London: Chapman and Hall.
}
\keyword{datasets}