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
splitform of the formula
additional arguments, used to obtain rank
terms for the fixed effects
offset vector, or vector of zeros if offset not specified
terms for the model matrix in each RE term