ggplot2 geom with ymin and ymax aesthetics that covers the entire x range, useful for clickSelects background elements.
Source:R/z_geoms.R
geom_widerect.Rd
ggplot2 geom with ymin and ymax aesthetics that covers the entire x range, useful for clickSelects background elements.
Usage
geom_widerect(
mapping = NULL,
data = NULL,
stat = "identity",
position = "identity",
...,
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE
)
Examples
if (FALSE) { # \dontrun{
source(system.file("examples/WorldBank.R", package = "animint"))
} # }