cv22_var_random_effect {CleaningValidation} | R Documentation |
This function fits a Poisson mixed-effects model with a specified random effect and extracts the variances and standard deviations of the random effects.
cv22_var_random_effect(data, residue_col, cleaning_event_col)
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. |
A data frame with the variances and standard deviations of the random effects.
Chan, Mohamed, Lou, Wendy, Yang, Xiande [xiande.yang at gmail.com]
ra_table <- cv22_var_random_effect(data=Eq_Mic, residue_col="Mic",
cleaning_event_col="CleaningEvent")