Learn R Programming

datana (version 1.0.6)

ChickWeight: Chicken growth data -- kept it only for the book.

Description

These data are the same as in the 'chicksw' dataframe, which is the one that should be preferred. Nonetheless, I kept the name of this dataframe (i.e., ChickWeight) to be able for using in the book of Salas-Eljatib (2021). Further details of the dataframe can be found by typing "?chicksw"

Usage

data(ChickWeight)

Arguments

Format

Contains four variables, as follows:

weight

A numeric vector giving the body weight of the chick (gm).

Time

A numeric vector giving the number of days since birth when the measurement was made.

Chick

An ordered factor with levels different giving a unique identifier for the chick. The ordering of the levels groups chicks on the same diet together and orders them according to their final weight (lightest to heaviest) within diet.

Diet

A factor with levels 1,2,3 and 4 indicating which experimental diet the chick received.

References

- Salas-Eljatib, C. 2021. Análisis de datos con el programa estadístico R: una introducción aplicada. Ediciones Universidad Mayor, Santiago, Chile. 170 p. https://eljatib.com/rlibro

Examples

Run this code
data(ChickWeight)    
head(ChickWeight) 

Run the code above in your browser using DataLab