- formula
- combined fixed and random effects formula, following lme4 syntax. 
- data
- data frame (tibbles are OK) containing model variables. Not required, but strongly recommended; if - datais not specified, downstream methods such as prediction with new data (- predict(fitted_model, newdata = ...)) will fail. If it is necessary to call- glmmTMBwith model variables taken from the environment rather than from a data frame, specifying- data=NULLwill suppress the warning message.
 
- family
- a family function, a character string naming a family function, or the result of a call to a family function (variance/link function) information. See - familyfor a generic discussion of families or- family_glmmTMBfor details of- glmmTMB-specific families.
 
- ziformula
- a one-sided (i.e., no response variable) formula for zero-inflation combining fixed and random effects: the default - ~0specifies no zero-inflation. Specifying- ~.sets the zero-inflation formula identical to the right-hand side of- formula(i.e., the conditional effects formula); terms can also be added or subtracted. When using- ~.as the zero-inflation formula in models where the conditional effects formula contains an offset term, the offset term will automatically be dropped. The zero-inflation model uses a logit link.
 
- dispformula
- a one-sided formula for dispersion combining fixed and random effects: the default - ~1specifies the standard dispersion given any family. The argument is ignored for families that do not have a dispersion parameter. For an explanation of the dispersion parameter for each family, see- sigma. The dispersion model uses a log link. In Gaussian mixed models,- dispformula=~0fixes the residual variance to be 0 (actually a small non-zero value), forcing variance into the random effects. The precise value can be controlled via- control=glmmTMBControl(zero_dispval=...); the default value is- sqrt(.Machine$double.eps).
 
- weights
- weights, as in - glm. Not automatically scaled to have sum 1.
 
- offset
- offset for conditional model (only). 
- contrasts
- an optional list, e.g., - list(fac1="contr.sum"). See the- contrasts.argof- model.matrix.default.
 
- na.action
- a function that specifies how to handle observations
containing - NAs.  The default action (- na.omit,
inherited from the 'factory fresh' value of- getOption("na.action")) strips any observations with any
missing values in any variables. Using- na.action = na.excludewill similarly drop observations with missing values while fitting the model,
but will fill in- NAvalues for the predicted and residual
values for cases that were excluded during the fitting process
because of missingness.
 
- se
- whether to return standard errors. 
- verbose
- whether progress indication should be printed to the console. 
- doFit
- whether to fit the full model, or (if FALSE) return the preprocessed data and parameter objects, without fitting the model. 
- control
- control parameters, see - glmmTMBControl.
 
- REML
- whether to use REML estimation rather than maximum likelihood. 
- start
- starting values, expressed as a list with possible components - beta,- betazi,- betadisp(fixed-effect parameters for conditional, zero-inflation, dispersion models);- b,- bzi,- bdisp(conditional modes for conditional, zero-inflation, and dispersion models);- theta,- thetazi,- thetadisp(random-effect parameters, on the standard deviation/Cholesky scale, for conditional, z-i, and disp models);- psi(extra family parameters, e.g., shape for Tweedie models).
 
- map
- a list specifying which parameter values should be fixed to a constant value rather than estimated. - mapshould be a named list containing factors corresponding to a subset of the internal parameter names (see- startparameter). Distinct factor values are fitted as separate parameter values,- NAvalues are held fixed: e.g.,- map=list(beta=factor(c(1,2,3,NA)))would fit the first three fixed-effect parameters of the conditional model and fix the fourth parameter to its starting value. In general, users will probably want to use- startto specify non-default starting values for fixed parameters. See- MakeADFunfor more details.
 
- sparseX
- a named logical vector containing (possibly) elements named "cond", "zi", "disp" to indicate whether fixed-effect model matrices for particular model components should be generated as sparse matrices, e.g. - c(cond=TRUE). Default is all- FALSE
 
- priors
- a data frame of priors, in a similar format to that accepted by the - brmspackage; see- priors
 
- subset
- an optional vector specifying a subset of observations to be used in the fitting process (see - model.frame)