geom_timeline: geom_timeline function With the created geom class, we create...

Description Usage Arguments Value Examples

View source: R/module2.R

Description

geom_timeline function With the created geom class, we create the actual function that will build a layer based on the geom specification.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
geom_timeline(
  mapping = NULL,
  data = NULL,
  na.rm = TRUE,
  position = "identity",
  stat = "identity",
  show.legend = NA,
  inherit.aes = TRUE,
  ...
)

Arguments

inherit.aes

Value

a function that will build a layer based on geom_timeline geom.

Examples

1
## Not run: ggplot() + geom_timeline(aes(x = DATE, y = COUNTRY, color = TOTAL_DEATHS))

AESpe/R_capstone_final documentation built on Oct. 16, 2020, 12:37 a.m.