powered by
ggplot2 geom with ymin and ymax aesthetics that covers the entire x range, useful for clickSelects background elements.
geom_widerect(mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., na.rm = FALSE, show.legend = NA, inherit.aes = TRUE)
aesthetic mapping
data set
statistic mapping, defaults to identity
position mapping, defaults to identity
other arguments
ggplot2 layer
# NOT RUN { source(system.file("examples/WorldBank.R", package = "animint")) # }
Run the code above in your browser using DataLab