find_modfr_glmm: Parse a formula (and possibly subformulas)

Description Usage Arguments

Description

Parse a formula (and possibly subformulas)

Usage

1
2
3
find_modfr_glmm(formula, subformula = NULL, data = NULL,
  family = gaussian, weights = NULL, offset = NULL,
  lme4_control = set_lme4_control())

Arguments

formula

a two-sided linear formula object describing both the fixed-effects and random-effects part of the model, with the response on the left of a ~ operator and the terms, separated by + operators, on the right. Random-effects terms are distinguished by vertical bars ("|") separating expressions for design matrices from grouping factors.

subformula

a subformula, describing how a substituted variable depends on covariates, or a list of subformulas, if there is more than one Sub() term in formula.

data

an optional data frame, list or environment containing the variables named in formula, and in any of the subformulas.

family

a GLM family, see glm and family.

weights

an optional vector of ‘prior weights’ to be used in the fitting process. Should be NULL or a numeric vector.

offset

this can be used to specify an a priori known component to be included in the linear predictor during fitting. This should be NULL or a numeric vector of length equal to the number of cases. One or more offset terms can be included in the formula instead or as well, and if more than one is specified their sum is used. See model.offset.

lme4_control

the result of a call to lme4_control, containing control parameters passed to lme4. See ?lme4_control.


glmmsr documentation built on May 2, 2019, 2:12 p.m.