| Body_length | R Documentation |
Simulated body lengths of beetles reared in containers within populations, under two
treatments in two habitats, of the kind used by Nakagawa and Schielzeth (2013) to illustrate
R^2 for mixed models. Used in the R2_glmm vignette.
data(Body_length)
A data frame with 960 rows and 6 columns:
factor, 12 populations.
factor, 120 containers (nested in populations).
factor, Female or Male.
factor, A or B.
factor, Cont or Exp.
numeric, body length.
Nakagawa, S. and Schielzeth, H. (2013), A general and simple method for obtaining
R^2 from generalized linear mixed-effects models. Methods in Ecology and
Evolution, 4, 133–142.
data(Body_length)
fm <- lmer(BodyL ~ Treatment + Habitat + Sex + (1|Population/Container), data = Body_length)
R2_model(fm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.