milk: Milk yield data

Description Usage Format Details Examples

Description

Milk yield data for 10 unrelated cows

Usage

1

Format

data.frame with 40 obs. and 2 variables

cow

cow id, a factor with 10 levels

milk.amount

milk amount in kgs per week

Details

Weekly milk yield amount for 10 cows. For every cow 5 measurements are taken.

Examples

1
2
3
4
5
6
data(milk)
library(lattice)
# change the order of levels
milk$cow = reorder(milk$cow, milk$milk.amount, mean)
#plot it
dotplot(cow~milk.amount, data=milk)

pbiecek/PBImisc documentation built on May 24, 2019, 10:35 p.m.