- fixed compatibility of
geom_half_boxplot()
withggplot2
version 3.4.
- fixed
geom_half_violin()
bug where panel plots (without any grouping aesthetic) would no longer work
geom_half_violin()
now accepts an optionalsplit
aesthetic to compare a binary variable side-by-side (see vignette)geom_half_violin()
now accepts a vector for theside
argument, supporting different sizes per plotting group
- fixed missing import of
remove_missing
function - fixed missing import of
translate_shape_string
function
transformation_params
argument ofgeom_half_point
has been removed (after previously having been deprecated). Instead, passposition_*(params)
with thetransformation
argument instead.range_scale
has been set to a default value of0.75
forgeom_half_point_panel
to matchgeom_half_point
.
- fixed a bug in
geom_half_point
where jitter width defaulted to the default value ofggplot2::PositionJitter
rather than a custom calculation.range_scale
should work better as a result, and the geom can be used with small values without problems.
geom_half_point_panel
for jittering points but allowing grouped aesthetics inside that jitter (rather than dodging per group).
transformation_params
argument ofgeom_half_point
has been deprecated in favor of passing the arguments directly totransformation
by evaluatingposition_*(arguments)
functions that returnPosition
objects.
geom_half_point
now supports passing of positions other thanPositionJitter
andPositionIdentity
totransformation
-- given they have acompute_panel
function.- added
range_scale
parameter togeom_half_point
. When nowidth
argument is passed intransformation_params
,range_scale
defaults to0.5
, which leads to the points using half of their allotted space.1
would have them end up using all of their allotted space. - added default
width
andheight
values whenwidth
orheight
are included names in thetransformation_params
list but set toNULL
. This leads to sensible defaults forPosition
s that are notPositionJitter
.
- removed range scaling of
geom_half_point
after 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_violin
andgeom_half_point
grobs by drawing internally rather than callingGeom*$draw_panel
- First commit
geom_half_boxplot
for half-boxplots.geom_half_dotplot
for aligned dotplots that dodge fill and color.geom_half_violin
for half-violin plots.geom_half_point
for half-jitterplots.