NEWS.md
Breaking changes
geom_diverging(), geom_likert(), geom_pyramid(), geom_diverging_text(), geom_likert_text(), and geom_pyramid_text() have been redesigned (#73)stat_prop(): arguments height, labels and labeller have been removed (#73)Improvements
geom_connector(), geom_bar_connector() and geom_prop_connector() (#81)auto_contrast (#75)Minor breaking change
position_likert_count() has been renamed as position_diverging() (#69)Improvements
new experimental plot: ggcascade() for “cascade” plots (#71)
new scale scale_fill_likert() (#64)
new geometries: geom_prop_bar() and geom_prop_text() (#69)
new geometries: geom_diverging(), geom_likert(), geom_pyramid() and geom_diverging_text(), geom_likert_text(), geom_pyramid_text() (#69)
new helper symmetric_limits() to make a scale symmetric (#66)
new helper pal_extender() and corresponding scale_fill_extender() and scale_colour_extender()
new helper weighted.sum() for weighted sums (#71)
new sorting option "prop_lower" for gglikert() (#62)
new argument symmetric for gglikert() (#66)
new arguments default_by, height, labels and labeller for stat_prop() (#69)
new returned statistics for stat_prop(): after_stat(denominator), after_stat(height) and after_stat(labels)
Improvements
hex_bw() to identify a suitable font color given a background color (#57)"auto" for labels_color argument in gglikert() and gglikert_stacked() (using hex_bw()) (#57)data_fun for gglikert(), gglikert_data() and gglikert_stacked() (#60)Bug fixes
ggcoef_model() and other similar functions: Unicode character removed in significance labels (#49)Improvements
labels_color and totals_color in gglikert() and gglikert_stacked() (#43)Bug fixes
ggcoef_multicomponents() when type = "table" and exponentiate = TRUE
gglikert(): the function could be called directly with ggstats::gglikert() without requiring the full package to be loaded (#47)New features
ggcoef_table() displaying a coefficient table at the right of the forest plot (#32)ggcoef_multicomponents() for multi-components models such as zero-inflated Poisson or beta regressions (#38)"table" for ggcoef_multinom()
Improvements
gglikert() now aligns total proportions when faceting (#28)weights argument for gglikert(), gglikert_stacked() and gglikert_data() (#29)y argument for gglikert() and gglikert_stacked() (#31)facet_label_wrap argument for gglikert() (#31)New helpers
weighted.median() and weighted.quantile() functionsNew features
gglikert(), gglikert_stacked() and gglikert_data() (#25)position_likert() and position_likert_count() (#25)complete argument for stat_prop() (#25)Bug fixes
ggcoef_compare() to preserve the order of model terms and to avoid an error with add_reference_rows = FALSE (#23)geom_stripped_rows() and geom_stripped_cols() (#20)tidy_args in ggcoef_*() to pass additional arguments to broom.helpers::tidy_plus_plus() and to tidy_fun (#17)ggplot2 version 3.4.0 or more (#15)geom_rect(), the size aesthetic is now deprecated in geom_stripped_cols() and geom_stripped_rows(): please use the linewidth aesthetic instead (#15)ggcoef_multinom() to display y levels not listed in y.level_label
stat_cross() now returns phi coefficients (see also augment_chisq_add_phi()) (#6)