Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For the following example
x <- c(1,3,2,5) y <- c("a","c","d","c") qplot(x, y)
How do I move all points a bit downward? I can use position_jitter, but that's random. I think the best solution is to program a customized version of sth like position_jitter. However after reading source code https://github.com/hadley/ggplot2/blob/master/R/position-jitter.r https://github.com/hadley/ggplot2/blob/master/R/position-.r I am still not clear how to achieve this.
position_jitter
The text was updated successfully, but these errors were encountered:
Maybe call it position nudge?
Sorry, something went wrong.
26776c3
No branches or pull requests
For the following example
How do I move all points a bit downward? I can use
position_jitter
, but that's random. I think the best solution is to program a customized version of sth likeposition_jitter
. However after reading source codehttps://github.com/hadley/ggplot2/blob/master/R/position-jitter.r
https://github.com/hadley/ggplot2/blob/master/R/position-.r
I am still not clear how to achieve this.
The text was updated successfully, but these errors were encountered: