View source: R/core_functions.R

fit_model_rep | R Documentation |

Estimates the GLMM model for concordance setting

fit_model_rep( data, fam = c("poisson", "nbinom2", "nbinom1", "zip", "zinb1", "zinb2") )

`data` |
A data frame containing at least two columns: outcome (named as y) and subject identifier (named as id). |

`fam` |
Character string. The within-subjects pdf to use. Valid options are: "poisson" (default) for Poisson pdf; "nbinom1" for Negative Binomial pdf with additive extradispersion; "nbinom2" for Negative Binomial pdf with proportional extradispersion; "zip" for zero-inflated Poisson pdf; "zinb1" for zero-inflated nbinom1 pdf; "zinb2" for zero-inflated nbinom2 pdf; |

An object of class glmmTMB with the model estimates.

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.