COWS: Butterfat of Cows

Description Usage Format Source References Examples

Description

Random samples of ten mature (five-years-old and older) and ten two-year-old cows were taken from each of five breeds. The average butterfat percentage of these 100 cows is stored in the variable butterfat with the type of cow stored in the variable breed and the age of the cow stored in the variable age.

Usage

1

Format

A data frame with 100 observations on the following 3 variables:

Source

Canadian record book of purebred dairy cattle.

References

Examples

1
2
3
4
ggplot(data = COWS, aes(x = breed, y = butterfat, fill = age)) + 
geom_boxplot(position = position_dodge(1.0)) + 
labs(x = "", y = "Average butterfat percentage") + scale_fill_brewer()
summary(aov(butterfat ~ breed + age, data = COWS))

PASWR2 documentation built on Sept. 5, 2021, 5:44 p.m.