The R Project SVN R

Rev

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

Rev 88646 Rev 89605
Line 1... Line 1...
1
% File src/library/datasets/man/chickwts.Rd
1
% File src/library/datasets/man/chickwts.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2025 R Core Team
3
% Copyright 1995-2026 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{chickwts}
6
\name{chickwts}
7
\docType{data}
7
\docType{data}
8
\alias{chickwts}
8
\alias{chickwts}
Line 13... Line 13...
13
}
13
}
14
\usage{chickwts}
14
\usage{chickwts}
15
\format{
15
\format{
16
  A data frame with 71 observations on the following 2 variables.
16
  A data frame with 71 observations on the following 2 variables.
17
  \describe{
17
  \describe{
18
    \item{\code{weight}}{a numeric variable giving the chick weight.}
18
    \item{\code{weight}}{a numeric variable giving the chick weight in grams.}
19
    \item{\code{feed}}{a factor giving the feed type.}
19
    \item{\code{feed}}{a factor giving the feed type.}
20
  }
20
  }
21
}
21
}
22
\source{
22
\source{
23
  \bibcitet{R:Snedecor:1948}.
23
  \bibshow{R:Snedecor:1948}
24
}
24
}
25
\details{
25
\details{
26
  Newly hatched chicks were randomly allocated into six groups, and each
26
  Newly hatched chicks were randomly allocated into six groups, and each
27
  group was given a different feed supplement.  Their weights in grams
27
  group was given a different feed supplement.  Their weights in grams
28
  after six weeks are given along with feed types.
28
  after six weeks are given along with feed types.
29
}
29
}
30
\references{
30
\references{
31
  \bibshow{*, R:McNeil:1977}
31
  \bibshow{R:McNeil:1977}
32
}
32
}
33
\examples{
33
\examples{
34
require(stats); require(graphics)
34
require(stats); require(graphics)
35
boxplot(weight ~ feed, data = chickwts, col = "lightgray",
35
boxplot(weight ~ feed, data = chickwts, col = "lightgray",
36
    varwidth = TRUE, notch = TRUE, main = "chickwt data",
36
    varwidth = TRUE, notch = TRUE, main = "chickwt data",