cv22_var_random_effect {CleaningValidation} | R Documentation |
Extract Variance of Random Effects
Description
This function fits a Poisson mixed-effects model with a specified random effect and extracts the variances and standard deviations of the random effects.
Usage
cv22_var_random_effect(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 variances and standard deviations of the random effects.
Author(s)
Chan, Mohamed, Lou, Wendy, Yang, Xiande [xiande.yang at gmail.com]
Examples
ra_table <- cv22_var_random_effect(data=Eq_Mic, residue_col="Mic",
cleaning_event_col="CleaningEvent")
[Package CleaningValidation version 1.0 Index]