ggcoefstatswas showing wrong confidence intervals for
merModclass objects due to a bug in the
broom.mixedpackage (https://github.com/bbolker/broom.mixed/issues/30#issuecomment-428385005). This was fixed in
ggcoefstatsshould no longer have any issues.
specify_decimal_pwas giving incorrect results when
k < 3and
p.value = TRUE(e.g.,
0.002was printed as
< 0.001). This has been fixed.
ggpiestatsproduced incorrect results if some levels of the factor had been filtered out prior to using this function. It now drops unused levels and produces correct results.
groupedstatspackage to avoid repeating the same code in two packages:
groupedstatsis now added as a dependency.
untablehas been depcreated in light of
tidyr::uncount, which does exactly what
untablewas doing. The author wasn’t aware of this function when
purrrexamples removed from
CRANto reduce the size of the package. It is now available on the package website: https://indrajeetpatil.github.io/ggstatsplot/articles/.
subtitle_ggbetween_t_robfunction can now handle dependent samples and gains
grouped_variant) support bayes factor tests and gain two new arguments:
slice.labelargument that decides what information needs to be displayed as a label on the slices of the pie chart:
"percentage"(which has been the default thus far),
subtitle, the current default for
p.adjust.methodargument which allows p-values for correlations to be corrected for multiple comparisons.
label.expressionarguments to attach labels to points.
gghistostatsnow defaults to not showing (redundant) color gradient (
fill.gradient = FALSE) and shows both
"proportion"data. It also gains a new argument
bar.fillthat can be used to fill bars with a uniform color.
ggpiestatsnow support all palettes contained in the
paletteerpackage. This helps avoid situations where people had large number of groups (> 12) and there were not enough colors in any of the
bf.messageargument to display bayes factors in favor of the null (currently works only for parametric t-test).
gghistostatsfunction no longer has
line.labeller.yargument; this position is automatically determined now.
legend.title.marginfunction has been depcrecated since
ggplot2 3.0.0has improved on the margin issues from previous versions. All functions that wrapped around this function now lose the relevant arguments (
ggstatsplot.themehas been changed to
ggcorrmatfunction to be consistent across functions.
ggbetweenstatshave been deprecated. No other function in the package allowed changing confidence interval or their type for effect size estimation. These arguments were relevant only for
typehas been changed to
matrix.typebecause for all other functions
typeargument specifies the type of the test, while for this function it specified the display of the virsualization matrix. This will make the syntax more consistent across functions.
ggscatterstatsgains new arguments to specify aesthetics for geom point (
point.alpha). To be consistent with this naming schema, the
height.jitterarguments have been renamed to
gghistostats: To be compatible with
JASP, natural logarithm of Bayes Factors is displayed, and not base 10 logarithm.
formulaarguments to modify smoothing functions.
ggcorrmatcan now show
robustcorrelation coefficients in the matrix plot.
binwidthvalue, if not specified, is computed with
(max-min)/sqrt(n). This is basically to get rid of the warnings ggplot2 produces. Thanks to Chuck Powell’s PR (#43).
ggcoefstatsgains a new argument
partialand can display eta-squared and omega-squared effect sizes for anovas, in addition to the prior partial variants of these effect sizes.
perc.kargument to show desired number of decimal places in percentage labels.
grouped_ggpiestatswasn’t working when only
mainvariable was provided with
countsdata. Fixed that.
theme_mprlis now called
theme_mprlfunction will still be around and will not be deprecated, so feel free to use either or both of them since they are identical.
ggcoefstatsno longer has arguments
ran_paramsbecause only fixed effects are shown for mixed-effects models.
ggpiestatscan now handle within-subjects designs (McNemar test results will be displayed).
ggbetweenstatswas producing wrong axes labels when
sample.size.labelwas set to
TRUEand user had reordered factor levels before using this function. The new version fixes this.
ggcoefstatswasn’t producing partial omega-squared for
aovlistobjects. Fixed that with new version of
gghistostatshas a new argument to remove color fill gradient.
ggbetweenstatstakes new argument
mean.cito show confidence intervals for the mean values.
lmermodels, p-values are now computed using
sjstats::p_value. This removes
lmerTestpackage from dependencies.
sjstatsno longer suggests
apaTablespackage to compute confidence intervals for partial eta- and omega-squared. Therefore,
MBESSare removed from dependencies.
densigramwith the development version of
ggExtra. It additionally gains few extra arguments to change aesthetics of marginals (alpha, size, etc.).
ggcoefstatsfor displaying model coefficients.
ggthemeargument that can be used to change the default theme, which has now been changed from
MASS::rlm, but percentage bend correlation, as implemented in
WRS2::pbcor. This was done to be consistent across different functions.
ggcorrmatalso uses percentage bend correlation as the robust correlation measure. This also means that
ggstatsplotno longer imports
dataargument is no longer
NULLfor all functions, except
gghistostats. In other words, the user must provide a dataframe from which variables or formulas should be selected.
ggpiestatscan now handle dataframes with
ggpiestatsnow display sample sizes for each level of the groping factor by default. This behavior can be turned off by setting
boot::boot. Therefore, the package no longer imports
ggcorrmatnow default to
ggplot2 3.0.0has better legend title margins.
ggpiestatsnow sorts the summary dataframes not by percentages but by the levels of
mainvariable. This was done to have the same legends across different levels of a grouping variable in
ggpiestatsno longer shows titles for the tests run (these were “Proportion test” and “Chi-Square test”). From the pie charts, it should be obvious to the user or reader what test was run.
gghistostatsalso allows running robust version of one-sample test now (One-sample percentile bootstrap).
ggbetweenstatsfunction can now show notched box plots. Two new arguments
notchwidthcontrol its behavior. The defaults are still standard box plots.
outlier.labelargument was of
densityas a value measure for bar heights to show proportions and density. New argument
bar.measurecontrols this behavior.
grouped_variants of functions
ggpiestatsintroduced to create multiple plots for different levels of a grouping variable.
ggstatsplotuse the spelling
color, rather than
colourin some functions, while
gghistostatsfunction. This argument was relevant for the first avatar of this fucntion, but is no longer playing any role.
ggcorrmathave been changed to
ggstatsplot.themefunction to control if
ggstatsplot::theme_mprlis to be overlaid on top of the selected ggtheme (ggplot2 theme, i.e.).
gghistostatsto allow user to change colorbar gradient. Defaults are colorblind friendly.
ggcorrmathave a new argument
legend.title.marginto control margin adjustment between the title and the colorbar.
ggscatterstatswas not working properly. Choosing
"median"didn’t show median, but the mean. This is fixed now.
gghistostatsand two new arguments to also display a vertical line for
grouped_gghistostatsto facilitate applying
gghistostatsfor multiple levels of a grouping factor.
ggbetweenstatshas a new argument
outlier.coefto adjust threshold used to detect outliers. Removed bug from the same function when
outlier.labelargument is of factor/character type.
grouped_proptestare now deprecated. They were exported in the first release by mistake.
gghistostatsno longer displays both density and count since the density information was redundant. The
density.plotargument has also been deprecated.
intercepthas now been changed to
centrality.para. This was due to possible confusion about interpreation of these lines; they show central tendency measures and not intercept for the linear model. Thus the change.
effsize.type = "biased"effect size for
ggbetweenstatsin case of ANOVA is partial omega-squared, and not omega-squared. Additionally, both partial eta- and omega-squared are not computed using bootstrapping with (default) 100 bootstrap samples.
RVAideMemoirepackage is thus removed from dependencies.
ggbetweenstatsfunction are now computed using
sjstatspackage, which allows bootstrapping.
userfriendlysciencepackages are thus removed from dependencies.