csdaw / ggbeeswarm2 Goto Github PK
View Code? Open in Web Editor NEWColumn scatter / beeswarm-style plots in ggplot2
Column scatter / beeswarm-style plots in ggplot2
When I try to use geom_beeswarm(method = "center")
, the plot doesn't seem to be doing what the documentation of beeswarm
says it does. As you can see, the points are not centered.
set.seed(123)
distro <- list(runif = runif(100, min = -3, max = 3),
rnorm = rnorm(100))
distro2 %>%
ggplot(aes(y = rev(variable), x = value)) +
ggbeeswarm2::geom_beeswarm(method = "center", side = -1L)
distro2 %>%
ggplot(aes(x = rev(variable), y = value)) +
geom_beeswarm(method = "center")
If I try the following with method = "square"
it seems to work just fine.
distro2 %>%
ggplot(aes(x = rev(variable), y = value)) +
geom_beeswarm(method = "square")
Cex doesn’t seem to work properly, it increased the size of the points instead of spread. I this a known issue?
See aroneklund/beeswarm@ef9b318 and later commits.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.