if (FALSE) { # interactive()
if (.assert_package("emmeans", boolean = TRUE)) {
mod <- lm(Sepal.Length ~ Species, data = iris)
mod |> model_get_pairwise_contrasts(variables = "Species")
mod |>
model_get_pairwise_contrasts(
variables = "Species",
contrasts_adjust = "none"
)
}
}
Run the code above in your browser using DataLab