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() )

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

`zioffset` |
offset for zero-inflated model |

`doffset` |
offset for dispersion model |

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.