Compare the mixed-effects inference to expected values.
inferenceToExpected_withMixedEff.Rd
This function compares the mixed-effects inference obtained from a mixed-effects model to expected values derived from a ground truth dataset. The function assumes a specific type I mixed-effect structure in the input model.
Arguments
- tidy_tmb
tidy model results obtained from fitting a mixed-effects model.
- ground_truth_eff
A data frame containing ground truth effects.
- formula_used
formula used to fit model
Examples
if (FALSE) {
inferenceToExpected_withMixedEff(tidy_tmb(l_tmb), ground_truth_eff)
}