| Poisson_ind | R Documentation |
Simulated egg counts of individual female beetles in containers within populations, under
two treatments in two habitats, of the kind used by Nakagawa and Schielzeth (2013). Used
in the R2_glmm vignette for a Poisson GLMM with an individual-level (overdispersion)
random effect.
data(Poisson_ind)
A data frame with 480 rows and 7 columns:
factor, 12 populations.
factor, 60 containers (nested in populations).
factor, Female only.
factor, B or A.
factor, Exp or Cont.
integer, number of eggs.
factor, individual within container.
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(Poisson_ind)
gm <- glmer(Egg ~ Treatment + Habitat + (1|Population/Container) + (1|individual:Container),
family = poisson, data = Poisson_ind)
R2_model(gm)
R2_model(gm, over_disp = TRUE) # without the overdispersion term
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.