geom_timelinelabel: plot Timeline with labels

Description Usage Arguments Details Examples

Description

plot Timeline with labels

Usage

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

Arguments

mapping

mapping

data

data used to plot

stat

calculation that used to transform the data

position

relative position of the geoms

na.rm

NA remove

show.legend

whether show legend

inherit.aes

aes that inherit

...

other params to pass in

Details

x A date data that used to draw the timeline loc location of the earthquake, used in the labels n_max show how many largest earthquake you want show y denote each country size same as in ggplot2, used to show magnitude of earth quake

Examples

1
2
3
4
5
## Not run: 
ggplot(plot_dat, aes(x = DATE,y = COUNTRY)) +
  geom_timelinelabel(aes(fill = DEATHS, size = EQ_MAG_MS, loc = LOCATION_NAME_, n_max = 3))

## End(Not run)

esppk/noaatk documentation built on May 25, 2019, 5:21 p.m.