litter: litter: Pig Litter Sizes

litterR Documentation

litter: Pig Litter Sizes

Description

A scientist working with animal breading did the following experiment: He took a random sample of six boars (male pigs), and a random sample of five swine farms. At each farm 12 sows (female pigs) were randomly picked out, and each boar was mated with two sows. The response was number of piglets from each sow.

Usage

litter

Format

A data frame with 60 observations (rows) and 3 variables (columns).

Column name Data type Description Values
[,1] Size integer Number of piglets from the sow (6 - 13)
[,2] Farm factor 5 different farms (Farm1...Farm5)
[,3] Boar factor 6 male pigs (Boar1...Boar6)

Examples


# First 10 rows
head(litter, n = 10)

# Litter sizes for each boar
boxplot(Size ~ Boar, data = litter, col = "springgreen")


thoree/stat340 documentation built on June 30, 2024, 4:04 p.m.