The R Project SVN R

Rev

Rev 88710 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88710 Rev 89605
Line 4... Line 4...
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{ChickWeight}
6
\name{ChickWeight}
7
\docType{data}
7
\docType{data}
8
\alias{ChickWeight}
8
\alias{ChickWeight}
9
\title{Weight versus age of chicks on different diets}
9
\title{Weight Versus Age of Chicks on Different Diets}
10
\description{
10
\description{
11
  The \code{ChickWeight} data frame has 578 rows and 4 columns from an
11
  The \code{ChickWeight} data frame has 578 rows and 4 columns from an
12
  experiment on the effect of diet on early growth of chicks.
12
  experiment on the effect of diet on early growth of chicks.
13
}
13
}
14
\usage{ChickWeight}
14
\usage{ChickWeight}
Line 24... Line 24...
24
      a numeric vector giving the number of days since birth when
24
      a numeric vector giving the number of days since birth when
25
      the measurement was made.
25
      the measurement was made.
26
    }
26
    }
27
    \item{\code{Chick}}{
27
    \item{\code{Chick}}{
28
      an ordered factor with levels
28
      an ordered factor with levels
29
      \code{18} < \dots < \code{48}
29
      \samp{18} < \dots < \samp{48}
30
      giving a unique identifier for the chick.  The ordering of
30
      giving a unique identifier for the chick.  The ordering of
31
      the levels groups chicks on the same diet together and
31
      the levels groups chicks on the same diet together and
32
      orders them according to their final weight (lightest to
32
      orders them according to their final weight (lightest to
33
      heaviest) within diet.
33
      heaviest) within diet.
34
    }
34
    }
35
    \item{\code{Diet}}{
35
    \item{\code{Diet}}{
36
      a factor with levels 1, \dots, 4 indicating which
36
      a factor with levels \samp{1}, \dots, \samp{4} indicating which
37
      experimental diet the chick received.
37
      experimental diet the chick received.
38
    }
38
    }
39
  }
39
  }
40
}
40
}
41
\details{
41
\details{
42
  The body weights of the chicks were measured at birth and every
42
  The body weights of the chicks were measured at birth and every
43
  second day thereafter until day 20.  They were also measured on day
43
  second day thereafter until day 20.  They were also measured on day
44
  21.  There were four groups on chicks on different protein diets.
44
  21.  There were four groups of chicks on different protein diets.
45
 
45
 
46
  This dataset was originally part of package \CRANpkg{nlme}, and that has
46
  This dataset was originally part of package \CRANpkg{nlme}, and that has
47
  methods (including for \code{[}, \code{as.data.frame}, \code{plot} and
47
  methods (including for \code{[}, \code{as.data.frame}, \code{plot} and
48
  \code{print}) for its grouped-data classes.
48
  \code{print}) for its grouped-data classes.
49
}
49
}
50
\source{
50
\source{
51
  \bibinfo{R:Crowder+Hand:1990}{note}{Example 5.3}
51
  \bibinfo{R:Crowder+Hand:1990}{note}{Example 5.3, pages 74--78}
52
  \bibinfo{R:Hand+Crowder:1996}{note}{Table A.2}
52
  \bibinfo{R:Hand+Crowder:1996}{note}{Table A.2, page 172}
53
  \bibshow{R:Crowder+Hand:1990,
53
  \bibshow{R:Crowder+Hand:1990,
54
    R:Hand+Crowder:1996,
54
    R:Hand+Crowder:1996,
55
    R:Pinheiro+Bates:2000}
55
    R:Pinheiro+Bates:2000}
56
}
56
}
57
\seealso{
57
\seealso{