Changelog
Source:NEWS.md
ggstats 0.11.0
Improvements
- new
type = "table"forggcoef_compare()(#102) - new argument
x_limitsforggcoef_plot() - limits of x-axis are now harmonized between sub-plots returned by
ggcoef_table()(#102) -
ggcoef_plot()has been updated to account for the deprecation ofggplot2::geom_errorbarh()in version 4.0.0 ofggplot2(#104)
ggstats 0.10.0
CRAN release: 2025-07-02
Improvements
-
gglikert(): legend order is reversed whenreverse_likert = TRUE(#95) -
gglikert_stacked(): legend order is reversed whenreverse_fill = TRUE(#95)
Renamed argument
- the
table_witdhsargument ofggcoef_table()is deprecated. Please use thetable_widthsargument instead (#99)
ggstats 0.9.0
CRAN release: 2025-03-10
Improvements
-
ggccoef_model()andggcoef_table()are now compatible with multinomial and multi-component models, followingbroom.helpers1.20.0: both functions gained new argumentsgroup_byandgroup_labels(#93) - new functions
ggcoef_dodged()andggcoef_faceted()(#93) -
ggcoef_plot()got a new argumenty_labeller(#86)
Deprecated functions
-
ggcoef_multinom()andggcoef_multicomponents()are now soft-deprecated and may be removed in a future release. Use insteadggcoef_model(),ggcoef_table(),ggcoef_dodged()orggcoef_faceted()(#93)
Bug fix
- fix terms order in
ggcoef_model()for specific cases when two modalities of two different variables have the same name (#86) - bug fix in
stat_prop()whencomplete = "color"orcomplete = "group"(#89) - bug fix in
gglikert()whenreverse_likert = TRUEandadd_totals = TRUE(#91)
ggstats 0.8.0
CRAN release: 2025-01-07
Breaking changes
-
geom_diverging(),geom_likert(),geom_pyramid(),geom_diverging_text(),geom_likert_text(), andgeom_pyramid_text()have been redesigned (#73) -
stat_prop(): argumentsheight,labelsandlabellerhave been removed (#73)
Improvements
- new geoms
geom_connector(),geom_bar_connector()andgeom_prop_connector()(#81) - new shortcut
auto_contrast(#75)
ggstats 0.7.0
CRAN release: 2024-09-22
Minor breaking change
-
position_likert_count()has been renamed asposition_diverging()(#69) - R minimum version 4.2.0 is now required.
Improvements
new experimental plot:
ggcascade()for “cascade” plots (#71)new scale
scale_fill_likert()(#64)new geometries:
geom_prop_bar()andgeom_prop_text()(#69)new geometries:
geom_diverging(),geom_likert(),geom_pyramid()andgeom_diverging_text(),geom_likert_text(),geom_pyramid_text()(#69)new helper
symmetric_limits()to make a scale symmetric (#66)new helper
pal_extender()and correspondingscale_fill_extender()andscale_colour_extender()new helper
weighted.sum()for weighted sums (#71)new sorting option
"prop_lower"forgglikert()(#62)new argument
symmetricforgglikert()(#66)new arguments
default_by,height,labelsandlabellerforstat_prop()(#69)new returned statistics for
stat_prop():after_stat(denominator),after_stat(height)andafter_stat(labels)
ggstats 0.6.0
CRAN release: 2024-04-05
Improvements
- new function
hex_bw()to identify a suitable font color given a background color (#57) - new default value
"auto"forlabels_colorargument ingglikert()andgglikert_stacked()(usinghex_bw()) (#57) - new argument
data_funforgglikert(),gglikert_data()andgglikert_stacked()(#60)
ggstats 0.5.1
CRAN release: 2023-11-21
Bug fixes
- fix in
ggcoef_model()and other similar functions: Unicode character removed in significance labels (#49)
ggstats 0.5.0
CRAN release: 2023-09-28
Improvements
- new options
labels_colorandtotals_coloringglikert()andgglikert_stacked()(#43)
Bug fixes
- fix in
ggcoef_multicomponents()whentype = "table"andexponentiate = TRUE - fix in
gglikert(): the function could be called directly withggstats::gglikert()without requiring the full package to be loaded (#47)
ggstats 0.4.0
CRAN release: 2023-08-13
New features
- new function
ggcoef_table()displaying a coefficient table at the right of the forest plot (#32) - new function
ggcoef_multicomponents()for multi-components models such as zero-inflated Poisson or beta regressions (#38) - new type
"table"forggcoef_multinom()
Improvements
-
gglikert()now aligns total proportions when faceting (#28) - new
weightsargument forgglikert(),gglikert_stacked()andgglikert_data()(#29) - new
yargument forgglikert()andgglikert_stacked()(#31) - new
facet_label_wrapargument forgglikert()(#31)
New helpers
-
weighted.median()andweighted.quantile()functions
ggstats 0.3.0
CRAN release: 2023-04-12
New features
- New functions
gglikert(),gglikert_stacked()andgglikert_data()(#25) - New positions
position_likert()andposition_likert_count()(#25) - New
completeargument forstat_prop()(#25)
Bug fixes
- Bug fix in
ggcoef_compare()to preserve the order of model terms and to avoid an error withadd_reference_rows = FALSE(#23)
ggstats 0.2.1
CRAN release: 2023-01-12
- Bug fix in
geom_stripped_rows()andgeom_stripped_cols()(#20)
ggstats 0.2.0
CRAN release: 2023-01-06
- Support for pairwise contrasts (#14)
- New argument
tidy_argsinggcoef_*()to pass additional arguments tobroom.helpers::tidy_plus_plus()and totidy_fun(#17) - Now requires
ggplot2version 3.4.0 or more (#15) - Following change in
geom_rect(), thesizeaesthetic is now deprecated ingeom_stripped_cols()andgeom_stripped_rows(): please use thelinewidthaesthetic instead (#15)
ggstats 0.1.1
CRAN release: 2022-11-23
- Examples relying on Internet resources have been removed (#11)
ggstats 0.1.0
CRAN release: 2022-10-17
- First version, based on dev version of GGally
- Fix in
ggcoef_multinom()to display y levels not listed iny.level_label -
stat_cross()now returns phi coefficients (see alsoaugment_chisq_add_phi()) (#6)