inst/examples/ex-stat_interquartilerange.R

library(ggplot2)

ggplot(airquality, aes(Day, Wind, group = Month)) + 
  stat_interquartilerange(geom = "ribbon",
                          show.legend = FALSE) +
  geom_line() + 
  scale_y_continuous(limits = c(0, 25)) + 
  facet_grid(Month~.) +
  ggtitle("Daily wind intensity by month in NYC") +
  theme_minimal()

Try the ggspark package in your browser

Any scripts or data that you put into this service are public.

ggspark documentation built on May 29, 2024, 11:47 a.m.