:art: Visualisation toolbox for beautiful and publication-ready figures
New plot()
method for simulated residuals (implemented in the performance
package).
plot()
for check_model()
was revised and now includes more accurate Q-Q
plots for non-Gaussian models.
plot.check_model()
now passes arguments size_point
and size_line
to the
posterior predictive check plot.
Minor changes regarding the latest update of ggplot2.
{see}
to an MIT license.plot()
method for outputs of datawizard::data_tabulate()
(#293).The print()
method for performance::check_model()
now also evaluates the
default plot type for posterior predictive checks.
QQ/PP-plots now default to drawing simultaneous testing bands (when the
qqplotr
package is available). Previous behavior can be restored by setting
method = "pointwise"
.
Plot method for performance::check_normality()
now default to a detrended
QQ-plot. Previous behavior can be restored by setting type = "density"
.
Plot method for binned_residuals()
gains a show_smooth
argument, to show
or hide the smooth line.
Plot method for check_predictions()
gains a x_limits
argument, to limit
the x-axis-range. This can be useful to "zoom in" certain parts of the plot.
plot()
for performance::check_model()
no longer produces a normal QQ plot
for GLMs. Instead, it now shows a half-normal QQ plot of the absolute value of
the standardized deviance residuals.
plot()
for performance::check_model()
and
performance::check_predictions()
gains a type
argument, to either create
density plots, or discrete dots resp. interval plots for posterior predictive
checks.
plot()
for performance::check_model()
gains an n_column
argument, to
define the number of columns for the diagnostic plots (by default, two
columns).
plot()
for performance::check_model()
sometimes failed to create the plot
under certain conditions, e.g. when the screen or app windows was zoomed-in.
If an error occurs, a much more informative error message is shown, providing
several possible solutions to resolve this problem.
plot()
for parameters::equivalence_test()
now aligns the labelling with
the print()
method. Hence, the legend title is no longer labelled "Decision on H0"
, but rather "Equivalence"
, to emphasize that we can assume practical
equivalence for effects, but that we cannot accept the H0 (in a frequentist
framework).
Added some examples and cross references between docs. Furthermore, a vignette about plotting functions for the datawizard package was added.
Fixed issue with duplicated legend in the plot()
method for
performance::check_predictions()
.
Fixes issue in plot.binned_residuals()
for models whose residuals were
completely inside error bounds.
plot()
now works when using it on the output of describe_distribution()
with a select
argument of length 1.
Changed the default "yellow" color in palette_okabeito()
to "#F5C710"
instead of "#F0E442"
to increase visibility against a white background.
For the original Okabe-Ito palette, set palette = "full_original"
or
palette = "black_first_original"
.
Deals with deprecated arguments and functions in recent {ggplot2}
updates.
Updates docs and tests for {ggplot2}
release (3.4.0
).
New function scale_color_colorhex()
provides color scales based on palettes
from https://www.color-hex.com (#245).
The default for the smoothing bandwidth from plot.check_predictions()
has
changed from "nrd0"
to "nrd"
, which seems to produce better fitting plots
for non-Gaussian models. Furthermore, performance::check_predictions()
accepts a bw
argument (smoothing bandwidth), which is passed down to the
plot()
method's density-estimation.
plot()
for check_outliers()
for models with convergence
issues.Added aesthetics
argument to all color
and fill
scale functions so that
the same scale can be applied to multiple aesthetics and so that the functions
can be used with other aesthetics from other packages (e.g., edge_color
).
Added Okabe-Ito color palette (palette_okabeito
, scale_color_okabeito()
)
etc.)
Several minor improvements.
check_model()
function now uses patchwork instead of gridExtra to
arrange plots in a grid.
Reduced/removed some package dependencies.
Revise plot()
for bayestestR::bayesfactor()
to meet forthcoming changes in
the bayestestR package.
New functions geom_from_list
and geoms_from_list
to create geoms from
lists.
Plotting for normality check is now supported for afex_aov
models.
show_intercept
is no longer ignored in plot()
for rope()
.