mkTMBStruc | R Documentation |

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

```
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,
start = NULL,
map = NULL,
sparseX = NULL,
control = glmmTMBControl(),
old_smooths = NULL
)
```

`formula` |
combined fixed and random effects formula, following lme4 syntax. |

`ziformula` |
a |

`dispformula` |
a |

`combForm` |
combined formula |

`mf` |
call to model frame |

`fr` |
model frame |

`yobs` |
observed y |

`respCol` |
response column |

`weights` |
weights, as in |

`contrasts` |
an optional list, e.g., |

`size` |
number of trials in binomial and betabinomial families |

`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 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.