glmmTMB (version 0.2.3)

mkTMBStruc: Extract info from formulas, reTrms, etc., format for TMB

Description

Extract info from formulas, reTrms, etc., format for TMB

Usage

mkTMBStruc(formula, ziformula, dispformula, combForm, mf, fr, yobs,
  respCol, weights, contrasts, size = NULL, family, se = NULL,
  call = NULL, verbose = NULL, ziPredictCode = "corrected",
  doPredict = 0, whichPredict = integer(0), REML = FALSE)

Arguments

formula

conditional formula

ziformula

zero-inflation formula

dispformula

dispersion formula

combForm

combined formula

mf

call to model frame

fr

model frame

yobs

observed y

respCol

response column

weights

weights

contrasts

contrasts

size

number of trials in binomial and betabinomial families

family

family object

se

(logical) compute standard error?

call

original glmmTMB call

verbose

verbosity setting from original glmmTMB call

ziPredictCode

zero-inflation code

doPredict

flag to enable sds of predictions

whichPredict

which observations in model frame represent predictions

REML

Logical; Use REML estimation rather than maximum likelihood.

zioffset

offset for zero-inflated model

doffset

offset for dispersion model