geom_timeline: Geom for creating a timeline from earthquake data

Description Usage Arguments Value Examples

Description

This function creates a new geom to create a timeline for a specified data range and plots each earthquake as a point on that timline

Usage

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

Arguments

mapping

a set of aesthetic mappings

data

data to be displayed

na.rm

specifies how default missing values are approached

position

position adjustment

stat

the statistical transformation of the data

show.legend

inclusion of layer in the legend

inherit.aes

logical specification of whether to inherit the default aes

...

additional parameters

Value

no return value

Examples

1
2
3
## Not run: ggplot(data = china2, aes(x = date, y = COUNTRY,
color = DEATHS, size = EQ_PRIMARY)) + geom_timeline(alpha = 0.2)
## End(Not run)

balshaq/balshacapstone documentation built on May 25, 2019, 7:16 a.m.