eq_map: Map earthquakes.

Description Usage Arguments Note Examples

Description

Produces a map of earthquake epicenters (LATITUDE/LONGITUDE) and annotates each point with a popup window containing annotation data stored in a column of the data frame. The radius of each circle is proportional to the earthquake's magnitude (EQ_PRIMARY).

Usage

1
eq_map(df, annot_col)

Arguments

df

Data frame containing at least LONGITUDE, LATITUDE, and EQ_PRIMARY columns.

annot_col

Character string with the name of the column to use for the popup windows.

Note

See eq_create_label for another example.

Examples

1
2
3
4
## Not run: 
eq_map(earthquakes, annot_col = "DATE")

## End(Not run)

davidbody/earthquakes-package documentation built on May 14, 2019, 10:37 p.m.