Guest User

Untitled

a guest
Jan 21st, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. require("ggplot2")
  2.  
  3. df <- data.frame(
  4. x = rep(1:2, each = 50),
  5. y = rt(100, 3)
  6. )
  7.  
  8. # However, this approach could not change the horizontal lines width...
  9. ggplot(df, aes(x = factor(x), y = y)) +
  10. stat_boxplot(geom = "errorbar", stat_params = list(width = 0.5), geom_params = list()) +
  11. geom_boxplot()
Add Comment
Please, Sign In to add comment