Skip to content

Releases: larmarange/ggstats

ggstats 0.13.0

06 Mar 14:21

Choose a tag to compare

Improvements

  • new experimental function gglikert_side() (#115)
  • new options add_totals = "left" and add_totals = "right" for gglikert()

Bug fix

  • fix terms order in ggcoef_table() for specific cases when two modalities of
    two different variables have the same name (#116)

ggstats 0.12.0

22 Dec 12:31

Choose a tag to compare

Improvements

  • gglikert(), gglikert_stacked() and gglikert_data() now accepts
    survey objects (#110)
  • compatibility with vctrs version 0.7.0 added (#109)

ggstats 0.11.0

15 Sep 15:25

Choose a tag to compare

Improvements

  • new type = "table" for ggcoef_compare() (#102)
  • new argument x_limits for ggcoef_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 of
    ggplot2::geom_errorbarh() in version 4.0.0 of ggplot2 (#104)

ggstats 0.10.0

03 Jul 07:46

Choose a tag to compare

Improvements

  • gglikert(): legend order is reversed when reverse_likert = TRUE (#95)
  • gglikert_stacked(): legend order is reversed when reverse_fill = TRUE
    (#95)

Renamed argument

  • the table_witdhs argument of ggcoef_table() is deprecated. Please use the
    table_widths argument instead (#99)

ggstats 0.9.0

10 Mar 12:28

Choose a tag to compare

Improvements

  • ggccoef_model() and ggcoef_table() are now compatible with multinomial
    and multi-component models, following broom.helpers 1.20.0: both functions
    gained new arguments group_by and group_labels (#93)
  • new functions ggcoef_dodged() and ggcoef_faceted() (#93)
  • ggcoef_plot() got a new argument y_labeller (#86)

Deprecated functions

  • ggcoef_multinom() and ggcoef_multicomponents() are now soft-deprecated
    and may be removed in a future release. Use instead ggcoef_model(),
    ggcoef_table(), ggcoef_dodged() or ggcoef_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() when complete = "color" or
    complete = "group"(#89)
  • bug fix in gglikert() when reverse_likert = TRUE and
    add_totals = TRUE (#91)

ggstats 0.8.0

07 Jan 13:00

Choose a tag to compare

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

  • new geoms geom_connector(), geom_bar_connector() and
    geom_prop_connector() (#81)
  • new shortcut auto_contrast (#75)

ggstats 0.7.0

23 Sep 08:00

Choose a tag to compare

Minor breaking change

  • position_likert_count() has been renamed as position_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() 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)

ggstats 0.6.0

05 Apr 16:14

Choose a tag to compare

Improvements

  • new function hex_bw() to identify a suitable font color given a background
    color (#57)
  • new default value "auto" for labels_color argument in gglikert() and
    gglikert_stacked() (using hex_bw()) (#57)
  • new argument data_fun for gglikert(), gglikert_data() and
    gglikert_stacked() (#60)

ggstats 0.5.1

22 Nov 07:53

Choose a tag to compare

Bug fixes

  • fix in ggcoef_model() and other similar functions:
    Unicode character removed in significance labels (#49)

ggstats 0.5.0

28 Sep 14:08

Choose a tag to compare

Improvements

  • New options labels_color and totals_color in gglikert() and
    gglikert_stacked() (#43)

Bug fixes

  • fix in ggcoef_multicomponents() when type = "table" and
    exponentiate = TRUE
  • fix in gglikert(): the function could be called directly with
    ggstats::gglikert() without requiring the full package to be loaded (#47)