Thin extender over emmeans::emmeans(). The fitted model is
passed through unchanged; specs follows the usual emmeans
formula / list interface. Use emmeans::pairs() or
emmeans::contrast() on the returned object for pairwise or
custom contrasts.
Arguments
- model
A fitted model object (
lm,glm,lmerMod, ...).- specs
Specification for the marginal means – a formula (e.g.
~ treatment), character vector of factor names, or a list, exactly as accepted byemmeans::emmeans().- ...
Further arguments forwarded to
emmeans::emmeans().