| harvey_lsmeans | R Documentation |
Average daily gain of 65 Hereford steers by 9 sires in 3 lines, with the age class of the
dam, weaning age and initial weight; unbalanced throughout. Harvey (1960) used these data
to introduce least-squares means. Used in vignette("sas").
data(harvey_lsmeans)
A data frame with 65 rows and 7 columns:
factor, line of the dam (3 levels).
factor, sire (9 levels, each within one line).
factor, age class of the dam (A3, A4, A5).
factor, calf (65 levels).
calf age at weaning (days).
calf weight at the start of feeding (pounds).
average daily gain (pounds per day).
Copied from harvey.lsmeans of the agridat package 1.27 (Kevin Wright, MIT licence).
Harvey, W. R. (1960). Least-squares Analysis of Data with Unequal Subclass Numbers.
Technical Report ARS 20-8, USDA Agricultural Research Service, pp. 101–102.
data(harvey_lsmeans)
fm <- lmer(adg ~ line + damage + weanage + (1 | line:sire), data = harvey_lsmeans)
predictmeans(fm, "line")$means
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.