Description Usage Arguments Value Examples
eq_create_label
creates labels for earthquake maps.
The labels include: location, magnitude, and the total number of deaths.
1 | eq_create_label(loc, magnitude, deaths)
|
loc |
A character vector that contains locations. |
magnitude |
A numeric vector that contains earthquake magnitudes. |
deaths |
A numeric vector that contains death counts. |
An HTML-formatted string (strings) that is used as a label
1 | eq_create_label('Mexico', 8.0, 2000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.