pigs {emmeans} | R Documentation |
Effects of dietary protein on free plasma leucine concentration in pigs
Description
A two-factor experiment with some observations lost
Usage
pigs
Format
A data frame with 29 observations and 3 variables:
- source
Source of protein in the diet (factor with 3 levels: fish meal, soybean meal, dried skim milk)
- percent
Protein percentage in the diet (numeric with 4 values: 9, 12, 15, and 18)
- conc
Concentration of free plasma leucine, in mcg/ml
Source
Windels HF (1964) PhD thesis, Univ. of Minnesota. (Reported as Problem 10.8 in Oehlert G (2000) A First Course in Design and Analysis of Experiments, licensed under Creative Commons, http://users.stat.umn.edu/~gary/Book.html.) Observations 7, 22, 23, 31, 33, and 35 have been omitted, creating a more notable imbalance.
Examples
pigs.lm <- lm(inverse(conc) ~ source + factor(percent), data = pigs)
emmeans(pigs.lm, "source")
[Package emmeans version 1.10.3 Index]