Changes
-
Methods for the tinyplot package were added.
-
estimate_slopes()
now also gets theestimate
argument, to specify how to
estimate / marginalize over non-focal terms. -
Improvements to
estimate_contrasts()
:-
comparison = "inequality"
now also works when contrasting slopes for a
numeric predictor. -
New option
comparison = "inequality_ratio"
forestimate_contrast()
,
which computes the ratio of marginal effects inequality measures across
groups. -
For contrasts, the message about the units of contrasts ("in %-points") has
been removed, because this was slightly misleading. The units were in
%-points if multiplied by 100, but this multiplication was not done in the
output. -
estimate_contrasts()
for slopes now allows additional grouping of contrasts
using theby
argument together with thecomparison
argument by specifying
the grouping variable in the formula, e.g.contrast = c("x", "group")
and
~ pairwise | group
.
-
-
estimate_expectation()
andestimate_relation()
now support objects of
classhtest
. -
estimate_grouplevel()
now supports models from package coxme. -
New function
residualize_over_grid()
, which residualizes a model
over a grid of predictors. This is useful to visualize the residuals of a
model over a grid of predictors. -
visualisation_recipe()
andplot()
get ashow_residuals
argument,
to show the residuals of the model, related to the data grid, in the plot. -
Documentation of the
display()
method for modelbased objects has been
added. -
Improved documentation and improved informative messages.
-
Message about unreliable standard errors (for certain models, when predicting
random effects) was removed for now, as it is uncertain whether the standard
errors were unreliable. -
Modified code base to address changes in the marginaleffects package from
version 0.29.0 onwards.
Bug fixes
-
Fixed issue with
by
inestimate_contrasts()
whencomparison
was
"inequality"
. -
Some comparison options, like
"helmert"
or"poly"
, could not be specified
as string-value, only as formula. This has been fixed, so they can now be
specified as string-value, too. -
In-formula transformations of predictors in
by
could not be handled when
by
was not specified. This has been fixed, and automatic detection ofby
variables now also works with in-formula transformations.