Create X and random effect terms from formula
getXReTrms(formula, mf, fr, ranOK = TRUE, type = "", contrasts, sparse = FALSE)
current formula, containing both fixed & random effects
matched call
full model frame
random effects allowed here?
label for model type
a list of contrasts (see ?glmmTMB)
(logical) return sparse model matrix?
a list composed of
design matrix for fixed effects
design matrix for random effects
output from mkReTrms
from lme4
offset vector, or vector of zeros if offset not specified