fit_model_con: Estimates GLMM. Concordance setting.

View source: R/core_functions.R

fit_model_conR Documentation

Estimates GLMM. Concordance setting.

Description

Estimates the GLMM model for concordance setting

Usage

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

Arguments

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;

Value

An object of class glmmTMB with the model estimates.


iccCounts documentation built on May 29, 2024, 7:57 a.m.