Learn R Programming

beeswarm

An R package implementing bee swarm plots

You can see some examples here: http://www.cbs.dtu.dk/~eklund/beeswarm/

Installation

You can install the latest release on CRAN like this:

install.packages("beeswarm")

Or you can install the latest development version from GitHub like this:

## install.packages("devtools")
devtools::install_github("aroneklund/beeswarm")

Related works

bee swarm and related plots in the ggplot2 framework

bee swarm plots in Python

It's also known as a dot plot

Leland Wilkinson (1999). Dot plots. The American Statistician. 53(3):276-281. PDF

It seems to be the same basic point layout algorithm, except that Wilkinson suggests an additional smoothing step that the beeswarm package does not do.

Copy Link

Version

Install

install.packages('beeswarm')

Version

0.4.0

License

Artistic-2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

June 1st, 2021

Functions in beeswarm (0.4.0)

swarmx

Adjust 1-d data to separate coincident points
breast

Lymph-node-negative primary breast tumors
bxplot

Plot quantile lines
beeswarm

Bee swarm plot