Skip to content

Return emmeans for interaction terms #319

@bzkrouse

Description

@bzkrouse

Currently ard_emmeans_mean_difference() / ard_emmeans_contrast() is restricted to primary covariates that exist within the input data?
Could it expand to interaction terms as well?
For example:

cardx::ard_emmeans_mean_difference(
  data = mtcars,
  formula = mpg ~ am + cyl + am*cyl,
  method = "lm",
  primary_covariate = "am*cyl"
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions