Create X and random effect terms from formula
getXReTrms(
formula,
mf,
fr,
ranOK = TRUE,
type = "",
contrasts,
sparse = FALSE,
old_smooths = NULL
)
a list composed of
design matrix for fixed effects
design matrix for random effects
output from mkReTrms
from lme4, possibly augmented with information about mgcv
-style smooth terms
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
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?
smooth information from a prior model fit (for prediction)