r_est_rep_zi: ICC repeatability for zero-inflated models

View source: R/core_functions.R

r_est_rep_ziR Documentation

ICC repeatability for zero-inflated models

Description

Estimates the ICC for repeatability setting for zero-inflated models (poisson, nbinom1 and nbinom2 families).

Usage

r_est_rep_zi(data, model)

Arguments

data

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

model

A glmmTMB obejct.

Value

A data frame with ICC estimate, its standard error and variance components.


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