treatments {trouBBlme4SolveR} | R Documentation |
Data for the Cross Validated question lme4: glmer() warning messages with count data mixed-effects model and how to proceed with model fit
Description
A continuous variable to be used as outcome (total_no
), another
to be used as predictor (week
), two factor variables to be used
as predictors (treatment
and fzone
) and another factor
to be used as cluster for the random effects (plot
) of a
Poisson model failing to converge, and an extra variable.
Usage
data("treatments")
Format
A data frame with 142 observations on the following 7 variables.
plot
a numeric vector
date
a character vector
total_no
a numeric vector
zone
a character vector
treatment
a character vector
week
a numeric vector
fzone
a character vector
Source
lme4: glmer() warning messages with count data mixed-effects model and how to proceed with model fit
Examples
data(treatments)
str(treatments)
library(lme4)
glmm.1 <- glmer(total_no ~ week*treatment*fzone + (1|plot), data = treatments,
family = poisson)
summary(glmm.1)
glmm.11 <- dwmw(glmm.1, verbose = TRUE)
summary(glmm.11)
[Package trouBBlme4SolveR version 0.1.1 Index]