ggeffects 2.0.0
Breaking changes
-
The way how
type = "random"
works has been revised.type = "random"
no
longer returns predictions intervals. Instead, useinterval = "prediction"
.
type = "random"
is now mainly responsible for unit-level predictions in
mixed models, as opposed totype = "fixed"
, which should be used for
population-level predictions. The separation fromtype = "random"
and
theinterval
argument makes the handling for mixed models easier, more
intuitive and consistent. Accordingly, the vignette regarding the introduction
into mixed models with ggeffects has been largely revised. -
The
vcov_fun
andvcov_type
argument were removed and are now replaced
by the singlevcov
argument, to be in line with the handling of
heteroscedasticity-consistent standard errors in other packages (mainly:
easystats eco-system). -
The deprecated arguments for
ggpredict()
,vcov()
,ggeffect()
and
ggemmeans()
have been removed. -
The deprecated arguments for the
plot()
method have been removed. -
Options
type = "random"
andtype = "zi_random"
are not longer available
forggemmeans()
. These were only responsible to set prediction intervals,
which can be done withinterval = "prediction"
now.
Changes
-
Added a
get_preditions()
method, which can be used to implement own S3-classes
to add support for new models to ggeffects. There is a corresponding
vignette, too. -
The
plot()
method gets adot_shape
argument, to change the shape of data
points whenshow_data = TRUE
. -
test_predictions
gains atest_args
argument, to optionally pass further
options totest
for emmeans engine/options. -
vcov()
returns a more informative warning, when the variance-covariance
matrix could not be extracted due to problems in creating the model matrix
(which prevents confidence intervals from being calculated). -
Added Okabe-Ito color scale to the available color ggeffects-palettes.
-
For models of class
survreg
, argumenttype
can also be"quantile"
.
Bug fixes
-
Fixed issue with argument
condition
forggaverage()
. -
Fixed issues with missing confidence intervals for objects of class
averaging
.