Milk: Protein content of cows' milk

Description Format Details Source Examples

Description

The Milk data frame has 1337 rows and 4 columns.

Format

This data frame contains the following columns:

protein

a numeric vector giving the protein content of the milk.

Time

a numeric vector giving the time since calving (weeks).

Cow

an ordered factor giving a unique identifier for each cow.

Diet

a factor with levels barley, barley+lupins, and lupins identifying the diet for each cow.

Details

Diggle, Liang, and Zeger (1994) describe data on the protein content of cows' milk in the weeks following calving. The cattle are grouped according to whether they are fed a diet with barley alone, with barley and lupins, or with lupins alone.

Source

Diggle, Peter J., Liang, Kung-Yee and Zeger, Scott L. (1994), Analysis of longitudinal data, Oxford University Press, Oxford.

Examples

1

Example output

Loading required package: lme4
Loading required package: Matrix

Attaching package: 'MEMSS'

The following objects are masked from 'package:datasets':

    CO2, Orange, Theoph

'data.frame':	1337 obs. of  4 variables:
 $ protein: num  3.63 3.57 3.47 3.65 3.89 3.73 3.77 3.9 3.78 3.82 ...
 $ Time   : num  1 2 3 4 5 6 7 8 9 10 ...
 $ Cow    : Factor w/ 79 levels "B01","B02","B03",..: 1 1 1 1 1 1 1 1 1 1 ...
 $ Diet   : Factor w/ 3 levels "barley","barley+lupins",..: 1 1 1 1 1 1 1 1 1 1 ...

MEMSS documentation built on May 2, 2019, 5:50 p.m.

Related to Milk in MEMSS...