mkTMBStruc | R Documentation |
Extract info from formulas, reTrms, etc., format for TMB
mkTMBStruc(
formula,
ziformula,
dispformula,
combForm,
mf,
fr,
yobs,
respCol,
weights = NULL,
contrasts,
family,
se = NULL,
call = NULL,
verbose = NULL,
ziPredictCode = "corrected",
doPredict = 0,
whichPredict = integer(0),
REML = FALSE,
start = NULL,
map = NULL,
sparseX = NULL,
control = glmmTMBControl(),
old_smooths = NULL,
priors = NULL
)
formula |
combined fixed and random effects formula, following lme4 syntax. |
ziformula |
a one-sided (i.e., no response variable) formula for zero-inflation combining fixed and random effects: the default |
dispformula |
a one-sided formula for dispersion containing only fixed effects: the default |
combForm |
combined formula |
mf |
call to model frame |
fr |
model frame |
yobs |
observed y |
respCol |
response column |
weights |
model weights (for binomial-type models, used as size/number of trials) |
contrasts |
an optional list, e.g., |
family |
family object |
se |
(logical) compute standard error? |
call |
original |
verbose |
whether progress indication should be printed to the console. |
ziPredictCode |
zero-inflation code |
doPredict |
flag to enable sds of predictions |
whichPredict |
which observations in model frame represent predictions |
REML |
whether to use REML estimation rather than maximum likelihood. |
start |
starting values, expressed as a list with possible components |
map |
a list specifying which parameter values should be fixed to a constant value rather than estimated. |
sparseX |
see |
control |
control parameters, see |
old_smooths |
(optional) smooth components from a previous fit: used when constructing a new model structure for prediction from an existing model. A list of smooths for each model component (only cond and zi at present); each smooth has sm and re elements |
priors |
see |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.