You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
315B

  1. library(tidyverse)
  2. data(iris)
  3. (
  4. iris %>%
  5. ggplot() +
  6. aes(x = Species, y = Sepal.Length) +
  7. geom_jitter(width = .1)
  8. )%>%
  9. ggsave(plot = ., filename = "sepal_species.png")
  10. (
  11. iris %>%
  12. ggplot() +
  13. aes(x = Petal.Length, y = Sepal.Length) +
  14. geom_point()
  15. )%>%
  16. ggsave(plot = ., filename = "sepal_petal.png")