pigs | R Documentation |
A two-factor experiment with some observations lost
pigs
A data frame with 29 observations and 3 variables:
Source of protein in the diet (factor with 3 levels: fish meal, soybean meal, dried skim milk)
Protein percentage in the diet (numeric with 4 values: 9, 12, 15, and 18)
Concentration of free plasma leucine, in mcg/ml
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.
pigs.lm <- lm(inverse(conc) ~ source + factor(percent), data = pigs)
emmeans(pigs.lm, "source")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.