eq_map: eq_map

Description Usage Arguments Value Examples

View source: R/eq_map.R

Description

This function generates a leaflet map, give NOAA earthquake data.

Usage

1
eq_map(adf, annot_col)

Arguments

adf

A dataframe containing NOAA earthquake data

annot_col

A text string which is the name of the column in adf that contains the "pop up" text for the data points. This "pop text" can be generated using the function eq_create_label.

Value

This function returns a leaflet map object

Examples

1
2
3
4
## Not run: 
eq_map(mydata,"popup_text")

## End(Not run)

tcoopermont/eqtools documentation built on May 30, 2019, 7:21 a.m.