Use ggeffects::ggpredict()
to estimate marginal predictions
and return a tibble tidied in a way that it could be used by broom.helpers
functions.
See https://strengejacke.github.io/ggeffects/ for a list of supported
models.
Arguments
- x
(a model object, e.g.
glm
)
A model to be tidied.- conf.int
(
logical
)
Whether or not to include a confidence interval in the tidied output.- conf.level
(
numeric
)
The confidence level to use for the confidence interval (between0
ans1
).- ...
Additional parameters passed to
ggeffects::ggpredict()
.
Details
By default, ggeffects::ggpredict()
estimate marginal predictions at the
observed mean of continuous variables and at the first modality of categorical
variables (regardless of the type of contrasts used in the model).
For more information, see vignette("marginal_tidiers", "broom.helpers")
.
Note
By default, ggeffects::ggpredict()
estimates marginal predictions for each
individual variable, regardless of eventual interactions.
See also
Other marginal_tieders:
tidy_all_effects()
,
tidy_avg_comparisons()
,
tidy_avg_slopes()
,
tidy_marginal_contrasts()
,
tidy_marginal_means()
,
tidy_marginal_predictions()
,
tidy_margins()