Improvements
type = "table" forggcoef_compare()(#102)x_limits forggcoef_plot()ggcoef_table() (#102)ggcoef_plot() has been updated to account for thedeprecation ofggplot2::geom_errorbarh() in version 4.0.0ofggplot2 (#104)Improvements
gglikert(): legend order is reversed whenreverse_likert = TRUE (#95)gglikert_stacked(): legend order is reversed whenreverse_fill = TRUE (#95)Renamed argument
table_witdhs argument ofggcoef_table() is deprecated. Please use thetable_widths argument instead (#99)Improvements
ggccoef_model() andggcoef_table() are nowcompatible with multinomial and multi-component models, followingbroom.helpers 1.20.0: both functions gained new argumentsgroup_by andgroup_labels (#93)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 beremoved in a future release. Use insteadggcoef_model(),ggcoef_table(),ggcoef_dodged() orggcoef_faceted() (#93)Bug fix
ggcoef_model() for specific caseswhen two modalities of two different variables have the same name(#86)stat_prop() whencomplete = "color" orcomplete = "group"(#89)gglikert() whenreverse_likert = TRUE andadd_totals = TRUE(#91)Breaking changes
geom_diverging(),geom_likert(),geom_pyramid(),geom_diverging_text(),geom_likert_text(), andgeom_pyramid_text()have been redesigned (#73)stat_prop(): argumentsheight,labels andlabeller have been removed(#73)Improvements
geom_connector(),geom_bar_connector() andgeom_prop_connector()(#81)auto_contrast (#75)Minor breaking change
position_likert_count() has been renamed asposition_diverging() (#69)Improvements
new experimental plot:ggcascade() for “cascade”plots (#71)
new scalescale_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 helpersymmetric_limits() to make a scalesymmetric (#66)
new helperpal_extender() and correspondingscale_fill_extender() andscale_colour_extender()
new helperweighted.sum() for weighted sums(#71)
new sorting option"prop_lower" forgglikert() (#62)
new argumentsymmetric forgglikert()(#66)
new argumentsdefault_by,height,labels andlabeller forstat_prop() (#69)
new returned statistics forstat_prop():after_stat(denominator),after_stat(height)andafter_stat(labels)
Improvements
hex_bw() to identify a suitable font colorgiven a background color (#57)"auto" forlabels_colorargument ingglikert() andgglikert_stacked()(usinghex_bw()) (#57)data_fun forgglikert(),gglikert_data() andgglikert_stacked()(#60)Bug fixes
ggcoef_model() and other similar functions:Unicode character removed in significance labels (#49)Improvements
labels_color andtotals_coloringglikert() andgglikert_stacked()(#43)Bug fixes
ggcoef_multicomponents() whentype = "table" andexponentiate = TRUEgglikert(): the function could be calleddirectly withggstats::gglikert() without requiring thefull package to be loaded (#47)New features
ggcoef_table() displaying a coefficienttable at the right of the forest plot (#32)ggcoef_multicomponents() formulti-components models such as zero-inflated Poisson or betaregressions (#38)"table" forggcoef_multinom()Improvements
gglikert() now aligns total proportions when faceting(#28)weights argument forgglikert(),gglikert_stacked() andgglikert_data()(#29)y argument forgglikert() andgglikert_stacked() (#31)facet_label_wrap argument forgglikert() (#31)New helpers
weighted.median() andweighted.quantile()functionsNew features
gglikert(),gglikert_stacked() andgglikert_data()(#25)position_likert() andposition_likert_count() (#25)complete argument forstat_prop()(#25)Bug fixes
ggcoef_compare() to preserve the order ofmodel terms and to avoid an error withadd_reference_rows = FALSE (#23)geom_stripped_rows() andgeom_stripped_cols() (#20)tidy_args inggcoef_*() topass additional arguments tobroom.helpers::tidy_plus_plus() and totidy_fun (#17)ggplot2 version 3.4.0 or more (#15)geom_rect(), thesizeaesthetic is now deprecated ingeom_stripped_cols() andgeom_stripped_rows(): please use thelinewidthaesthetic instead (#15)ggcoef_multinom() to display y levels not listediny.level_labelstat_cross() now returns phi coefficients (see alsoaugment_chisq_add_phi()) (#6)