Ggstatsplot Versions Save

Enhancing {ggplot2} plots with statistical analysis 📊📣

0.9.0

2 years ago

NEW FEATURES

  • The pairwise_comparisons() function for carrying out one-way pairwise comparisons has now moved in {ggstatsplot} from {pairwiseComparisons} package.

BREAKING CHANGES

  • A number of effect size estimates and their confidence intervals have changed due to respective changes made in {effectsize} package version 0.5 release. For full details of these changes, see: https://easystats.github.io/effectsize/news/index.html

  • For the same reason, the effect size for one-way contingency table has changed from Cramer's V to Pearson's C.

MAJOR CHANGES

  • For plotting marginal distributions in ggscatterstats, {ggstatsplot} now relies on ggside package instead of ggExtra. This was done to remove a glaring inconsistency in the API. All functions in {ggstatsplot} produced ggplot objects and could be further modified with ggplot2 functions, except ggscatterstats, which led to a lot of confusion among users (e.g. #28). This change gets rid of this inconsistency. But it comes at a cost: there is no more marginal.type argument that lets you change the type of marginal distribution graphic and histogram is the only possible option. Note that this is not a breaking change. Your past code will continue to work but it will now always produce a histogram instead of other marginal graphic you might have chosen.

  • Minimum needed R version is now 4.0.

MINOR CHANGES

  • Online vignette about combine_plots has been removed. In case you want to create a grid of plots, it is highly recommended that you use patchwork package directly and not this wrapper around it which is mostly useful with {ggstatsplot} plots.

  • ggscatterstats labeling arguments accept only unquoted inputs now, and not quoted or string inputs. Allowing this was a bad design choice in the past since most functions in {ggstatsplot}, inspired by tidyverse, expect unquoted (x) - and not quoted ("x") - arguments. So this function was the odd one out.

  • Gets rid of ipmisc dependency.

  • Removes movies_wide dataset, which was virtually identical to movies_long dataset and was not used anywhere in the package. Also removes the unused VR_dilemma dataset.

0.8.0

2 years ago

NEW FEATURES

  • Adds extract_stats function to extract dataframes containing statistical details.

MAJOR CHANGES

  • There is finally a publication for {ggstatsplot} package! https://joss.theoj.org/papers/10.21105/joss.03167

  • The ggcoefstats function defaults to NULL for xlab and ylab arguments, which lets users change these labels if they wish to do so. Additionally, the x-axis label, if not specified, now defaults to "estimate". Whether this estimate corresponds to regression coefficient or effect size like partial eta-squared should be clear from the label itself.

  • To reduce the dependency load, ggcorrplot moves from Imports to Suggests.

  • The bar.fill argument in gghistostats is retired in favor of the new bin.args argument that can be used to pass aesthetic arguments to ggplot2::stat_bin.

  • ggstatsplot.layer argument has been retired. If the user chooses a certain ggplot2 theme, it means they want that theme, and not {ggstatsplot}'s varnish on it. So the previous behavior was undesirable. This is a backward compatible change, so the plots should not look different.

MINOR CHANGES

  • The pch size for ggcorrmat has been increased to 14 (#579) to increase its visibility compared to the correlation value text.

  • ggwithinstats gains point.args to change geom_point.

  • Minor change to ggcorrmat legend title - content in parentheses is now shown outside of it.

BUG FIXES

  • ggcoefstats didn't work when statistic for the given model was chi-squared. This has been fixed.

0.7.2

3 years ago

MAJOR CHANGES

  • To reduce the dependency load, ggExtra moves from Imports to Suggests.

  • All functions are more robust in the sense that when statistical analysis fails, they will return only the plots with no subtitles/captions. This helps avoid difficult-to-diagnose edge case failures when the primary functions are used in grouped_ functions (e.g., #559). The ggpiestats and ggbarstats functions always behaved this way, but the rest of the functions now also mimic this behavior.

MINOR CHANGES

  • The ggcoefstats labels do not contain degrees of freedom when they are not available instead of displaying Inf.

0.7.1

3 years ago

0.7.0

3 years ago

0.6.8

3 years ago

0.6.6

3 years ago

0.6.5

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago