marginaleffects::marginal_means()
This function is deprecated.
marginal_means() is not anymore exported
by marginaleffects. Use instead tidy_marginal_predictions() with
the option newdata = "balanced".
tidy_marginal_means(x, conf.int = TRUE, conf.level = 0.95, ...)(a model object, e.g. glm)
A model to be tidied.
(logical)
Whether or not to include a confidence interval in the tidied output.
(numeric)
The confidence level to use for the confidence interval (between 0 ans 1).
Additional parameters.