View source: R/core_functions.R
fit_model_con | R Documentation |
Estimates the GLMM model for concordance setting
fit_model_con(
data,
fam = c("poisson", "nbinom2", "nbinom1", "zip", "zinb1", "zinb2")
)
data |
A data frame containing at least three columns: outcome (named as y), subject identifier (named as id) and method identifier (named as met). |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.