cv23_random_effect_coef {CleaningValidation}R Documentation

Extract Random Effect Coefficients

Description

This function fits a Poisson mixed-effects model with a specified random effect and extracts the random effect coefficients and their standard deviations.

Usage

cv23_random_effect_coef(data, residue_col, cleaning_event_col)

Arguments

data

A data frame containing the data.

residue_col

The name of the residue column.

cleaning_event_col

The name of the column used for random effects grouping.

Value

A data frame with the random effect coefficients and standard deviations.

Author(s)

Chan, Mohamed, Lou, Wendy, Yang, Xiande [xiande.yang at gmail.com]

Examples

re_coefs <- cv23_random_effect_coef(data=Eq_Mic, residue_col="Mic", 
cleaning_event_col="CleaningEvent")


[Package CleaningValidation version 1.0 Index]