BUG FIXES
ggbetweenstats
andggwithinstats
no longer produce incorrect label if the dataframe already contains a variable namedn
(#317).
MINOR
ggcoefstats
now usesparameters::p_value
instead ofsjstats::p_value
, as requested by the maintainer of that package.
MINOR
- Minor code refactoring that gets rid of the following dependencies:
magrittr
,ellipsis
,purrrlyr
.
MAJOR
- The p-value label now specifies whether the p-value displayed in
ggbetweenstats
andggwithinstats
pairwise comparisons were adjusted or not for multiple comparisons.
ANNOUNCEMENTS
ggstatsplot
is undergoing conscious uncoupling whereby all the statistical
processing functions that make stats subtitles are being moved to a new package
called statsExpressions
. This new package will act as a backend that handles
all things statistical processing. This will not affect the end users of
ggstatsplot
unless you have been using the helper functions.
Additionally, multiple pairwise comparison tests are being moved to an
independent package called pairwiseComparisons
.
This uncoupling is designed to achieve two things:
-
Make the code base of more manageable size in
ggstatsplot
, which will make package development a bit easier. -
Make the workflow more customizable since now you can prepare your own plots and then use
statsExpressions
to display results in the plot rather than relying onggstatsplot
default plots which are heavily opinionated and not appealing to everyone.
BREAKING CHANGES
- All helper functions
subtitle_*
andbf_*
have been moved to the newstatsExpressions
package. - To be consistent with all the other
subtitle_
andbf_
functions,subtitle_contingency_tab
andbf_contingency_tab
now use the argumentsx
andy
instead ofmain
andcondition
.
MAJOR CHANGES
- Major refactoring to reduce the codesize and to rely fully on
rlang
. - There was confusion about what did the red point in
ggbetweenstats
andggbetweenstats
plots represents. Now the label also contains$\mu$ to highlight that what is being displayed is a mean value. - To be consistent with the rest of the functions,
ggpiestats
andggbarstats
now uses the following aliases for arguments:x
formain
andy
forcondition
. This change is backward-compatible and should not pose any problems for scripts that usedmain
andcondition
arguments in these functions. - Most subtitle expressions now report details about the design. In case of
between-subjects design, this will be
$n_{obs}$ , while in case of repeated measures design, this will be$n_{pairs}$ . -
pairwise.annotation
now defaults to"p.value"
rather than"asterisk"
forggbetweenstats
andggwithinstats
(and theirgrouped_
variants) functions. This was done because the asterisk conventions are not consistent across various scientific disciplines.
MINOR CHANGES
- New dataset included:
bugs_long
, for repeated measures designs withNA
s present in the data. ggstatsplot
now usesrcompanion
to compute Spearman's rho and Kendall's W. Therefore,DescTools
is removed from dependencies.ggcoefstats
supports following objects:bglmerMod
,blmerMod
,lme
,mclogit
,mmclogit
,tobit
,wblm
.ggcoefstats
now respectsconf.int
. It internally always defaulted toconf.int = TRUE
inbroom::tidy
irrespective of what was specified by the user.- It was painfully confusing for a lot of users what exactly the asterisks in
each facet of
ggpiestats
signified. So instead nowggpiestats
displays more detailed results from a goodness of fit (gof) test. No such change is made forggbarstats
because there is no space to include more details above the bar. - Removed
conf.method
andconf.type
arguments forggcoefstats
. Also,p.kr
argument removed becauseggcoefstats
will begin to rely onparameters
instead ofsjstats
package to compute p-values for some regression models.
BUG FIXES
- Bayes Factor in
ggwithinstats
caption, displayed by default, was incorrect. This has been fixed. This stemmed from a line of code which should have beenpaired = TRUE
, but was insteadpaired = FALSE
.
MAJOR CHANGES
- The effect size measure for Kruskal-Wallis test has been changed from the more obscure H-based eta-squared statistic to more common and interpretable epsilon-squared.
MINOR CHANGES
ggcoefstats
defaults tobf.message = TRUE
to be consistent with the rest of the functions in the package.ggcoefstats
supports the following class of objects:epi.2by2
,negbin
,emmGrid
,lmrob
,glmrob
,glmmPQL
,data.table
.bf_ttest
is introduced as a general function. The previously exportedbf_one_sample_ttest
andbf_two_sample_ttest
become its aliases.bf_meta_message
syntax changes to adapt to updates made tometaBMA
package (thanks to #259).
BREAKING CHANGES
- The vestigial arguments
axis.text.x.margin.t
,axis.text.x.margin.r
,axis.text.x.margin.b
,axis.text.x.margin.l
forggcorrmat
have been removed. The margins can be adjusted usingggplot2::margin()
. gghistostats
no longer allowsdata
argument to beNULL
. This is to make this function's syntax consistent with rest of the functions in this package (none of which allowdata
to beNULL
). This also removes confusion that arose for some users whendata
couldn't beNULL
for itsgrouped_
cousin (grouped_gghistostats
).outlier_df
function is no longer exported since it was always meant to be an internal function and was accidently exported during initial release and was retained for a while for backward compatibility.
BREAKING CHANGES
- Instead of having two separate functions that dealt with repeated measures
(
subtitle_friedman_nonparametric
) and between-subjects (subtitle_kw_nonparametric
), a single functionsubtitle_anova_nonparametric
handles both of these designs with thepaired
argument determining which test is run. - All functions that supported Bayes Factor analysis (
type = "bf"
) will only return BF value and the scale used. Previously, this was a mix of parametric statistics and BF, which was confusing and often times misleading since these two types of analyses relied on different tests. - The default for
bf.message
has been changed fromFALSE
toTRUE
. This is to make the Bayes Factor analysis more visible to the user.
MAJOR CHANGES
ggscatterstats
returns only plot (without any statistical details) when the specified model is not linear (i.e., either whenmethod
argument is not"lm"
or whenformula
is noty ~ x
).
NEW FEATURES
- New functions
ggwithinstats
(and itsgrouped_
variant) are introduced as a counterpart toggbetweenstats
to handle repeated measures designs. - For repeated measures ANOVA,
subtitle_anova_nonparametric
now returns confidence intervals for Kendall's W. - All functions get
return
argument that can be used to return either"plot"
,"subtitle"
, or"caption"
. This makes it unnecessary to remember which subtitle function is to be used where. As a result, in the next release, all subtitle making functions will not be exported and are encouraged not be used either by other developers or by users. - Both
subtitle_anova_robust
andsubtitle_anova_parametric
gain a new argumentpaired
to support repeated measures designs. ggcoefstats
can support following new model objects:drc
,mlm
.ggcoefstats
gainsbf.message
argument to display a caption containing results from Bayesian random-effects meta-analysis. It therefore gains a new dependency:metaBMA
.ggpiestats
andggcatstats
will now display Cramer's V as effect size for one-sample proportion tests.- All functions gain
stat.title
argument (NULL
by default) that can be used to prefix the subtitle with a string of interest. This is possibly useful for specifying the details of the statistical test.
MINOR CHANGES
pairwise_p()
function no longer outputsconf.low
andconf.high
columns when parametric post hoc tests are run. This is because these values were accurate only when no p-value adjustment was carried out.- Instead of using the internal function
cor_test_ci
,ggscatterstats
instead usedSpearmanRho
function fromDescTools
package. This was done to reduce number of custom internal functions used to compute CIs for various effect sizes.ggstatsplot
therefore gainsDescTools
as a dependency. - The
sampling.plan
argument default forggbarstats
function has been changed from"indepMulti"
to"jointMulti"
to be consistent with its sister functionggpiestats
.
NEW FEATURES
ggcoefstats
can support following new model objects:rjags
.- New
VR_dilemma
dataset for toying around with within-subjects design. subtitle_t_onesample
supports both Cohen's d and Hedge's g as effect sizes and also produces their confidence intervals. Additionally, non-central variants of these effect sizes are also supported. Thus,gghistostats
and itsgrouped_
variant gets two new arguments:effsize.type
,effsize.noncentral
.ggpiestats
used to display odds ratio as effect size for paired designs (McNemar test). But this was only working when the analysis was a 2 x 2 contingency table. It now instead displays Cohen's G as effect size, which generalizes to any kind of design.
MINOR CHANGES
- The internal function
outlier_df
to add a column specifying outlier status of any given data point is now exported. -
ggstatsplot
previously relied on an internal functionchisq_v_ci
to compute confidence intervals for Cramer's V using bootstrapping but it was pretty slow. It now instead relies onrcompanion
package to compute confidence intervals for V.ggstatsplot
, therefore, gains a new dependency. -
subtitle_mann_nonparametric
andsubtitle_t_onesample
now computes effect size r and its confidence intervals as$Z/\sqrt{N}$ (with the help ofrcompanion
package), instead of using Spearman correlation.
BREAKING CHANGES
subtitle_t_onesample
no longer hasdata
as the optional argument. This was done to be consistent with other subtitle helper functions.
NEW FEATURES
- New function
ggbarstats
(and itsgrouped_
variant) introduced for making bar charts (thanks to #78). ggcoefstats
also displays a caption with model summary when meta-analysis is required.gghistostats
and itsgrouped_
variant has a new argumentnormal.curve
to superpose a normal distribution curve on top of the histogram (#138).ggcoefstats
can support following new regression model objects:brmsfit
,gam
,Gam
,gamlss
,mcmc
,mjoint
,stanreg
.- New function to convert plots which are not of
gg
/ggplot
class toggplot
class objects. - Instead of using
effsize
to compute Cohen's d and Hedge's g,ggstatsplot
now relies on a new (#159) internal functioneffect_t_parametric
to compute them. This removeseffsize
from dependencies. - To be consistent with other functions in this package, both
ggbarstats
andggpiestats
gainresults.subtitle
which can be set toFALSE
if statistical analysis is not required, in which casesubtitle
argument can be used to provide alternative subtitle.
MAJOR CHANGES
ggbetweenstats
now defaults to using noncentral-t distribution for computing Cohen's d and Hedge's g. To get variants with central-t distribution, useeffsize.noncentral = FALSE
.
MINOR CHANGES
- All
grouped_
functions had argumenttitle.prefix
that defaulted to"Group"
. It now instead defaults toNULL
, in which case the prefix will variable name forgrouping.var
argument. - To accommodate non-parametric tests,
subtitle_template
function can now work withparameter = NULL
. - For
ggbetweenstats
, details contained in the subtitle for non-parametric test are modified. It now uses Spearman's rho-based effect size estimates. This removescoin
from dependencies. ggbetweenstats
and itsgrouped_
variant gain a new argumentaxes.range.restrict
(which defaults toFALSE
). This restrictsy
-axes limits to minimum and maximum ofy
variable. This is what these functions were doing by default in the past versions, which created issues for additional ggplot components using theggplot.component
argument.- All bayes factor related subtitle and captions replace
prior.width
withr_{Cauchy}
. ggcoefstats
passes dots (...
) toaugment
method frombroom
.
BUG FIXES
- The helper function
bf_extractor
no longer provides option to extract information about posterior distribution because these details were incorrect. Theposterior = TRUE
details were not used anywhere in the package so nothing about the results changes. ggcorrmat
didn't output pair names whenoutput == "ci"
was used. This is fixed.
NEW FEATURES
ggcoefstats
gainsmeta.analytic.effect
that can be used to carry out meta-analysis on regression estimates. This especially useful when a dataframe with regression estimates and standard error is available from prior analyses. Thesubtitle
is prepared with the new functionsubtitle_meta_ggcoefstats
which is also exported.ggbetweenstats
,ggscatterstats
,gghistostats
, andggdotplotstats
(and theirgrouped_
variants) all gain a newggplot.component
argument. This argument will primarily be helpful to change the individual plots in agrouped_
plot.ggcoefstats
can support following new regression model objects:polr
,survreg
,cch
,Arima
,biglm
,glmmTMB
,coxph
,ridgelm
,aareg
,plm
,nlrq
,ivreg
,ergm
,btergm
,garch
,gmm
,lmodel2
,svyolr
,confusionMatrix
,multinom
,nlmerMod
,svyglm
,MCMCglmm
,lm.beta
,speedlm
,fitdistr
,mle2
,orcutt
,glmmadmb
.
BUG FIXES
ggcoefstats
didn't work whenstatistic
argument was set toNULL
. This was not expected behavior. This has been fixed. Now, ifstatistic
is not specified, only the dot-and-whiskers will be shown without any labels.subtitle_t_parametric
was producing incorrect sample size information whenpaired = TRUE
and the data containedNA
s. This has been fixed.
MAJOR CHANGES
ggscatterstats
and itsgrouped_
variant accept both character and bare exressions as input to argumentslabel.var
andlabe.expression
(#110).- To be consistent with rest of the functions in the package, both Pearson's r, Spearman's rho, and robust percentage bend correlations also display information about statistic associated with these tests.
ggscatterstats
, by default, showed jittered data points (because it relied onposition_jitter
defaults). This could be visually inaccurate and, therefore,ggscatterstats
now displays points without any jitter. The user can introduce jitter if they wish to usingpoint.width.jitter
andpoint.height.jitter
arguments. For similar reasons, forggbetweenstats
and itsgrouped_
variant,point.jitter.height
default has been changed from0.1
to0
(no vertical jitter, i.e.).
MINOR CHANGES
- Confidence interval for Kendall's W is now computed using
stats::kruskal.test
. As a result,PMCMRplus
removed from dependencies. ggcoefstats
gains acaption
argument. Ifcaption.summary
is set toTRUE
, the specified caption will be added on top of thecaption.summary
.
BUG FIXES
ggcoefstats
was showing wrong confidence intervals formerMod
class objects due to a bug in thebroom.mixed
package (bbolker/broom.mixed#30 (comment)). This was fixed inbroom.mixed
and soggcoefstats
should no longer have any issues.specify_decimal_p
has been modified because it produced incorrect results whenk < 3
andp.value = TRUE
(e.g.,0.002
was printed as< 0.001
).ggpiestats
produced 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.gghistostats
wasn't filtering outNA
s properly. This has been fixed.
MAJOR CHANGES
- New function
ggdotplotstats
for creating a dot plot/chart for labelled numeric data. - All primary functions gain
conf.level
argument to control confidence level for effect size measures. - As per APA guidelines, all results show results with two decimal places.
That is, the default value for
k
argument for all functions has been changed from3
to2
. - All helper functions for the
ggbetweenstats
subtitles have been renamed to remove_ggbetween_
from their names as this was becoming confusing for the user. Some of these functions work both with the between- and within-subjects designs, so having_ggbetween_
in their names made users suspect if they could use these functions for within-subjects designs. ggstatsplot
now depends onR 3.5.0
. This is because some of its dependencies require 3.5.0 to work (e.g.,broom.mixed
).- All
theme_
functions are now exported (theme_pie()
,theme_corrmat()
). ggbetweenstats
now supports multiple pairwise comparison tests (parametric, nonparametric, and robust variants). It gains a new dependencyggsignif
.ggbetweenstats
now supports eta-squared and omega-squared effect sizes for anova models. This function gains a new argumentpartial
.- Following functions are now reexported from the
groupedstats
package to avoid repeating the same code in two packages:specify_decimal_p
,signif_column
,lm_effsize_ci
, andset_cwd
. Therefore,groupedstats
is now added as a dependency. gghistostats
can now show both counts and proportions information on the same plot whenbar.measure
argument is set to"mix"
.ggcoefstats
works with tidy dataframes.- The helper function
untable
has been deprecated in light oftidyr::uncount
, which does exactly whatuntable
was doing. The author wasn't aware of this function whenuntable
was written. - All vignettes have been removed from
CRAN
to reduce the size of the package. They are now available on the package website: https://indrajeetpatil.github.io/ggstatsplot/articles/. subtitle_t_robust
function can now handle dependent samples and gainspaired
argument.- A number of tidyverse operators are now reexported by
ggstatsplot
:%>%
,%<>%
,%$%
.
MINOR CHANGES
ggscatterstats
,ggpiestats
, and theirgrouped_
variant support bayes factor tests and gain new arguments relevant to this test.- Effect size and their confidence intervals now available for Kruskal-Wallis test.
- Minor stylistic changes to how symbols for partial-eta-/omega-squared were being displayed in subtitles.
ggbetweenstats
supports bayes factor tests for anova designs.ggpiestats
(and itsgrouped_
version) gainslice.label
argument 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),"counts"
, or"both"
.ggcorrmat
can work withcor.vars = NULL
. In such case, all numeric variables from the provided dataframe will be used for computing the correlation matrix.- Given the constant changes to the default behavior of functions, the
lifecycle badge has been changed from
stable
tomaturing
. - When the number of colors needed by a function exceeds the number of colors
contained in a given palette, informative message is displayed to the user
(with the new internal function
palette_message()
). - Several users had requested an easier way to turn off subtitles with results
from tests (which was already implemented in
ggscatterstats
andgghistostats
with the argumentresults.subtitle
), soggbetweenstats
also gains two new arguments to do this:results.subtitle
andsubtitle
. - New dataset added:
iris_long
. - More tests added and the code coverage has now jumped to over 75%.
- To avoid code repetition, there is a now a function that produces a generic message any time confidence intervals for effect size estimate are computed using bootstrapping.
MAJOR CHANGES
- The package now exports all functions used to create text expressions with
results. This makes it easy for people to use these results in their own
plots at any location they want (and not just in
subtitle
, the current default forggstatsplot
). ggcorrmat
gainsp.adjust.method
argument which allows p-values for correlations to be corrected for multiple comparisons.ggscatterstats
gainslabel.var
andlabel.expression
arguments to attach labels to points.gghistostats
now defaults to not showing (redundant) color gradient (fill.gradient = FALSE
) and shows both"count"
and"proportion"
data. It also gains a new argumentbar.fill
that can be used to fill bars with a uniform color.ggbetweenstats
,ggcoefstats
,ggcorrmat
,ggscatterstats
, andggpiestats
now support all palettes contained in thepaletteer
package. This helps avoid situations where people had large number of groups (> 12) and there were not enough colors in any of theRColorBrewer
palettes.ggbetweenstats
gainsbf.message
argument to display bayes factors in favor of the null (currently works only for parametric t-test).gghistostats
function no longer hasline.labeller.y
argument; this position is automatically determined now.
BREAKING CHANGES
legend.title.margin
function has been deprecated sinceggplot2 3.0.0
has improved on the margin issues from previous versions. All functions that wrapped around this function now lose the relevant arguments (legend.title.margin
,t.margin
,b.margin
).- The argument
ggstatsplot.theme
has been changed toggstatsplot.layer
forggcorrmat
function to be consistent across functions. - For consistency,
conf.level
andconf.type
arguments forggbetweenstats
have been deprecated. No other function in the package allowed changing confidence interval or their type for effect size estimation. These arguments were relevant only forrobust
tests anyway. ggocorrmat
argumenttype
has been changed tomatrix.type
because for all other functionstype
argument specifies the type of the test, while for this function it specified the display of the visualization matrix. This will make the syntax more consistent across functions.ggscatterstats
gains new arguments to specify aesthetics for geom point (point.color
,point.size
,point.alpha
). To be consistent with this naming schema, thewidth.jitter
andheight.jitter
arguments have been renamed topoint.width.jitter
andpoint.height.jitter
, resp.
MINOR CHANGES
gghistostats
: To be compatible withJASP
, natural logarithm of Bayes Factors is displayed, and not base 10 logarithm.ggscatterstats
gainsmethod
andformula
arguments to modify smoothing functions.ggcorrmat
can now showrobust
correlation coefficients in the matrix plot.- For
gghistostats
,binwidth
value, 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). ggcoefstats
gains a new argumentpartial
and can display eta-squared and omega-squared effect sizes for anovas, in addition to the prior partial variants of these effect sizes.ggpiestats
gainsperc.k
argument to show desired number of decimal places in percentage labels.
BUG FIXES
grouped_ggpiestats
wasn't working when onlymain
variable was provided withcounts
data. Fixed that.
MAJOR CHANGES
- For the sake of consistency,
theme_mprl
is now calledtheme_ggstatsplot
. Thetheme_mprl
function will still be around and will not be deprecated, so feel free to use either or both of them since they are identical. ggcoefstats
no longer has argumentseffects
andran_params
because only fixed effects are shown for mixed-effects models.ggpiestats
can now handle within-subjects designs (McNemar test results will be displayed).
BUG FIXES
ggbetweenstats
was producing wrong axes labels whensample.size.label
was set toTRUE
and user had reordered factor levels before using this function. The new version fixes this.ggcoefstats
wasn't producing partial omega-squared foraovlist
objects. Fixed that with new version ofsjstats
.
MINOR CHANGES
- Removed the trailing comma from the robust correlation analyses.
gghistostats
has a new argument to remove color fill gradient.ggbetweenstats
takes new argumentmean.ci
to show confidence intervals for the mean values.- For
lmer
models, p-values are now computed usingsjstats::p_value
. This removeslmerTest
package from dependencies. sjstats
no longer suggestsapaTables
package to compute confidence intervals for partial eta- and omega-squared. Therefore,apaTables
andMBESS
are removed from dependencies.ggscatterstats
supportsdensigram
with the development version ofggExtra
. It additionally gains few extra arguments to change aesthetics of marginals (alpha, size, etc.).
MAJOR CHANGES
- New function:
ggcoefstats
for displaying model coefficients. - All functions now have
ggtheme
argument that can be used to change the default theme, which has now been changed fromtheme_grey()
totheme_bw()
. - The robust correlation is no longer
MASS::rlm
, but percentage bend correlation, as implemented inWRS2::pbcor
. This was done to be consistent across different functions.ggcorrmat
also uses percentage bend correlation as the robust correlation measure. This also means thatggstatsplot
no longer importsMASS
andsfsmisc
. - The
data
argument is no longerNULL
for all functions, exceptgghistostats
. In other words, the user must provide a dataframe from which variables or formulas should be selected. - All subtitles containing results now also show sample size information
(n). To adjust for the inflated length of the subtitle, the default
subtitle text size has been changed from
12
to11
.
MINOR CHANGES
- Switched back to Shapiro-Wilk test of normality to remove
nortest
from imports. ggpiestats
can now handle dataframes withggbetweenstats
andggpiestats
now display sample sizes for each level of the groping factor by default. This behavior can be turned off by settingsample.size.label
toFALSE
.- Three new datasets added:
Titanic_full
,movies_wide
,movies_long
. - Added confidence interval for effect size for robust ANOVA.
- The 95% CI for Cramer'V computed using
boot::boot
. Therefore, the package no longer importsDescTools
. - To be consistent across correlations covered, all correlations now show estimates for correlation coefficients, confidence intervals for the estimate, and p-values. Therefore, t-values and regression coefficients are no longer displayed for Pearson's r.
- The
legend.title.margin
arguments forgghistostats
andggcorrmat
now default toFALSE
, sinceggplot2 3.0.0
has better legend title margins. ggpiestats
now sorts the summary dataframes not by percentages but by the levels ofmain
variable. This was done to have the same legends across different levels of a grouping variable ingrouped_ggpiestats
.- To remove cluttered display of results in the subtitle,
ggpiestats
no 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. gghistostats
also allows running robust version of one-sample test now (One-sample percentile bootstrap).
NEW FEATURES
- The
ggbetweenstats
function can now show notched box plots. Two new argumentsnotch
andnotchwidth
control its behavior. The defaults are still standard box plots. - Removed warnings that were appearing when
outlier.label
argument was ofcharacter
type. - The default color palette used for all plots is colorblind friendly.
gghistostats
supportsproportion
anddensity
as a value measure for bar heights to show proportions and density. New argumentbar.measure
controls this behavior.grouped_
variants of functionsggcorrmat
,ggscatterstats
,ggbetweenstats
, andggpiestats
introduced to create multiple plots for different levels of a grouping variable.
MAJOR CHANGES
- To be internally consistent, all functions in
ggstatsplot
use the spellingcolor
, rather thancolour
in some functions, whilecolor
in others. - Removed the redundant argument
binwidth.adjust
fromgghistostats
function. This argument was relevant for the first avatar of this function, but is no longer playing any role. - To be internally consistent, the argument
lab_col
andlab_size
inggcorrmat
have been changed tolab.col
andlab.size
, respectively.
MINOR CHANGES
- Added a new argument to
ggstatsplot.theme
function to control ifggstatsplot::theme_mprl
is to be overlaid on top of the selected ggtheme (ggplot2 theme, i.e.). - Two new arguments added to
gghistostats
to allow user to change colorbar gradient. Defaults are colorblind friendly. - Both
gghistostats
andggcorrmat
have a new argumentlegend.title.margin
to control margin adjustment between the title and the colorbar. - The vertical lines denoting test values and centrality parameters can be
tagged with text labels with a new argument
line.labeller
ingghistostats
function.
BUG FIXES
- The
centrality.para
argument forggscatterstats
was not working properly. Choosing"median"
didn't show median, but the mean. This is fixed now.
NEW FEATURES
- Bayesian test added to
gghistostats
and two new arguments to also display a vertical line fortest.value
argument. - Vignette added for
gghistostats
. - Added new function
grouped_gghistostats
to facilitate applyinggghistostats
for multiple levels of a grouping factor. ggbetweenstats
has a new argumentoutlier.coef
to adjust threshold used to detect outliers. Removed bug from the same function whenoutlier.label
argument is of factor/character type.
MAJOR CHANGES
- Functions
signif_column
andgrouped_proptest
are now deprecated. They were exported in the first release by mistake. - Function
gghistostats
no longer displays both density and count since the density information was redundant. Thedensity.plot
argument has also been deprecated. ggscatterstats
argumentintercept
has now been changed tocentrality.para
. This was due to possible confusion about interpretation of these lines; they show central tendency measures and not intercept for the linear model. Thus the change.- The default for
effsize.type = "biased"
effect size forggbetweenstats
in 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.
MINOR CHANGES
- More examples added to the
README
document. - 95% confidence intervals for Spearman's rho are now computed using
broom
package.RVAideMemoire
package is thus removed from dependencies. - 95% confidence intervals for partial eta- and omega-squared for
ggbetweenstats
function are now computed usingsjstats
package, which allows bootstrapping.apaTables
anduserfriendlyscience
packages are thus removed from dependencies.
- First release of the package.