Learn R Programming

GLMsData (version 1.4)

butterfat: Butterfat and dairy cattle

Description

The average butterfat content for dairy cattle

Usage

data(butterfat)

Arguments

Format

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

Butterfat

the average butterfat percentage; a numeric vector

Breed

the cattle breed; a factor with levels Ayrshire, Canadian, Guernsey, Holstein-Fresian and Jersey

Age

the age of the cow; a factor with levels 2year and Mature

Details

The data give the average butterfat content (percentages) for random samples of twenty cows (ten two-year old and ten mature (greater than four years old)) from each of five breeds. The data are from Canadian records of pure-bred dairy cattle.

Examples

Run this code
data(butterfat)
summary(butterfat)

Run the code above in your browser using DataLab