Changelog
Source:NEWS.md
gghalves 0.1.4
CRAN release: 2022-11-20
Bug Fixes
- fixed compatibility of
geom_half_boxplot()withggplot2version 3.4.
gghalves 0.1.3
CRAN release: 2022-05-30
Bug Fixes
- fixed
geom_half_violin()bug where panel plots (without any grouping aesthetic) would no longer work
gghalves 0.1.2
CRAN release: 2022-05-27
New Features
-
geom_half_violin()now accepts an optionalsplitaesthetic to compare a binary variable side-by-side (see vignette) -
geom_half_violin()now accepts a vector for thesideargument, supporting different sizes per plotting group
gghalves 0.1.1
CRAN release: 2020-11-08
Minor Changes
-
transformation_paramsargument ofgeom_half_pointhas been removed (after previously having been deprecated). Instead, passposition_*(params)with thetransformationargument instead. -
range_scalehas been set to a default value of0.75forgeom_half_point_panelto matchgeom_half_point. ## Bug Fixes - fixed a bug in
geom_half_pointwhere jitter width defaulted to the default value ofggplot2::PositionJitterrather than a custom calculation.range_scaleshould work better as a result, and the geom can be used with small values without problems.
gghalves 0.1.0
CRAN release: 2020-03-28
New features
-
geom_half_point_panelfor jittering points but allowing grouped aesthetics inside that jitter (rather than dodging per group).
Major Changes
-
transformation_paramsargument ofgeom_half_pointhas been deprecated in favor of passing the arguments directly totransformationby evaluatingposition_*(arguments)functions that returnPositionobjects.
Minor changes
-
geom_half_pointnow supports passing of positions other thanPositionJitterandPositionIdentitytotransformation– given they have acompute_panelfunction. - added
range_scaleparameter togeom_half_point. When nowidthargument is passed intransformation_params,range_scaledefaults to0.5, which leads to the points using half of their allotted space.1would have them end up using all of their allotted space. - added default
widthandheightvalues whenwidthorheightare included names in thetransformation_paramslist but set toNULL. This leads to sensible defaults forPositions that are notPositionJitter.
Bug Fixes
- removed range scaling of
geom_half_pointafter points were already jittered - fixed y-axis limits being set to # of factor levels when the maximum y-value is lower than the # of factor values
- accurate naming of
geom_half_violinandgeom_half_pointgrobs by drawing internally rather than callingGeom*$draw_panel