fit_model_rep: Estimates GLMM. Repeatability setting.

View source: R/core_functions.R

fit_model_repR Documentation

Estimates GLMM. Repeatability setting.

Description

Estimates the GLMM model for concordance setting

Usage

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

Arguments

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;

Value

An object of class glmmTMB with the model estimates.


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