Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. library(dplyr)
  2. library(ggplot2)
  3. mtcars %>%
  4. ggplot(aes(am, wt, group = am, label = wt)) +
  5. geom_boxplot(outlier.shape = NA) +
  6. geom_jitter() +
  7. geom_text()
  8.  
  9. library(ggplot2)
  10. ggplot(mtcars, aes(am, wt, group = am, label = wt)) +
  11. geom_boxplot(outlier.shape = NA) +
  12. geom_jitter(position = position_jitter(seed = 1)) +
  13. geom_text(position = position_jitter(seed = 1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement