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