Estimates the GLMM model for concordance setting
fit_model_rep(
data,
fam = c("poisson", "nbinom2", "nbinom1", "zip", "zinb1", "zinb2")
)
An object of class glmmTMB with the model estimates.
A data frame containing at least two columns: outcome (named as y) and subject identifier (named as id).
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;