These methods let emmeans build reference grids for mm_lmm objects when
the optional emmeans package is installed. They expose the same fixed-effect
design surface used by mm_grid() and mm_means().
Usage
recover_data.mm_lmm(object, data = NULL, ...)
emm_basis.mm_lmm(
object,
trms,
xlev,
grid,
method = c("auto", "satterthwaite", "kenward_roger", "asymptotic", "none"),
...
)
recover_data.mm_glmm(object, data = NULL, ...)
emm_basis.mm_glmm(object, trms, xlev, grid, ...)Value
Objects expected by emmeans::recover_data() and
emmeans::emm_basis().
Details
The current bridge is intentionally narrow: Gaussian LMMs only and
population fixed-effect means only. When the fitted artifact carries an
available mixedmodels.fixed_effect_covariance_matrix payload, emmeans
receives that full fixed-effect covariance matrix. Native mm_predictions(),
mm_means(), and mm_comparisons() remain the contract-preserving mixeff
surface because they preserve row-level status and reason fields.