glmer: data.frame-first formula-second method for 'glmer'

Description Usage Arguments See Also Examples

Description

This function passes a data.frame, formula, and additional arguments to glmer

Usage

1

Arguments

data

Data frame (or object that can be coerced to one) containing the variables in the model

formula

formula (or object that can be coerced to one) describing the model to be fitted

...

Additional arguments to pass to model function

See Also

glmer

Examples

1
2
3
4
5
6
7
fit <- glmer(lme4::cbpp,
  cbind(incidence, size - incidence) ~ period + (1 | herd),
  family = binomial)
summary(fit)

# Help page for function being twiddled
?lme4::glmer

drsimonj/twidlr documentation built on May 15, 2019, 2:53 p.m.