geom_timeline_label: geom_timeline_label function this is the function that builds...

Description Usage Arguments Value Examples

View source: R/module2.R

Description

geom_timeline_label function this is the function that builds the label layer on the geom_timeline geom

Usage

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

Arguments

inherit.aes

Value

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

Examples

1
2
3
## Not run: ggplot() + geom_timeline(aes(x = DATE, y = COUNTRY, color = TOTAL_DEATHS) +
geom_timeline_label(aes(x = DATE, y = COUNTRY, magnitude = EQ_PRIMARY, label = LOCATION_NAME, n_max = 5))
## End(Not run)

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