This PR builds upon #60 to add the extra swarming and corral methods from beeswarm.
It also reverts a few of the small changes I made to the "swarm" method so that it outwardly behaves identically to ggbeeswarm v0.6.0 on CRAN (but is still internally re-written), to hopefully preserve backward compatibility.
Along with #63 I plan on doing only 1 more PR to update the package vignette. Then I reckon a new version should be submitted to CRAN :)
Changes made:
geom_beeswarm()
Add fast, corral and corral.width arguments and new swarm methods to method.
Change cex default value back to 1 (as per ggbeeswarm on CRAN).
Add some basic argument checking for method and corral.
offset_beeswarm()
Rename some of the range args, remove redundant args, and add the fast, corral, and corral.width args.
Add Details section to documentation.
Add code to perform alternative swarm methods and point corralling.
Minor changes to position_beeswarm() and PositionBeeswarm to work with the above.
Add examples for new swarm and corral methods to README.
Hi @eclarke ,
This PR builds upon #60 to add the extra swarming and corral methods from
beeswarm
. It also reverts a few of the small changes I made to the"swarm"
method so that it outwardly behaves identically to ggbeeswarm v0.6.0 on CRAN (but is still internally re-written), to hopefully preserve backward compatibility.Along with #63 I plan on doing only 1 more PR to update the package vignette. Then I reckon a new version should be submitted to CRAN :)
Changes made:
geom_beeswarm()
fast
,corral
andcorral.width
arguments and new swarm methods tomethod
.cex
default value back to 1 (as per ggbeeswarm on CRAN).method
andcorral
.offset_beeswarm()
fast
,corral
, andcorral.width
args.position_beeswarm()
andPositionBeeswarm
to work with the above.Addresses: #62 #50