r_est_rep_zi: 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)
Value
A data frame with ICC estimate, its standard error and variance components.
Arguments
- data
A data frame containing at least two columns: outcome (named as y) and subject identifier (named as id).
- model
A glmmTMB obejct.