geom_timeline_label: Geom to plot earthquake labels for date or location,...

Description Usage Arguments Value Examples

Description

This Geom uses ggplot2 package.

Usage

1
geom_timeline_label(data, xmindate, xmaxdate, country, n_max)

Arguments

data

Tidy earthquake data, as dataframe

xmindate

Minimum Date to plot

xmaxdate

Maximum Date to plot

country

Character vector of Country/Countries to plot

n_max

Number of labels to plot

Value

Returns ggplot

Examples

1
2
3
4
5
6
7
8
## Not run: 
geom_timeline_label(data = read_noaa_file(filename="signif.txt"),
                    xmindate = "2000-01-01",
                    xmaxdate = "2017-12-31",
                    country = c("JAPAN"),
                    n_max = 7)

## End(Not run)

itjmt96/Earthquakes documentation built on May 18, 2019, 5:52 a.m.