geom_widerect: ggplot2 geom with ymin and ymax aesthetics that covers the...

Description Usage Arguments Value Examples

View source: R/geoms.R

Description

ggplot2 geom with ymin and ymax aesthetics that covers the entire x range, useful for clickSelects background elements.

Usage

1
2
3
geom_widerect(mapping = NULL, data = NULL, stat = "identity",
  position = "identity", ..., na.rm = FALSE, show.legend = NA,
  inherit.aes = TRUE)

Arguments

mapping

aesthetic mapping

data

data set

stat

statistic mapping, defaults to identity

position

position mapping, defaults to identity

...

other arguments

Value

ggplot2 layer

Examples

1
2
3
4
## Not run: 
   source(system.file("examples/WorldBank.R", package = "animint"))
 
## End(Not run)

tdhock/animint documentation built on July 27, 2019, 5:57 a.m.