eq_create_label: Create labels for earthquake maps

Description Usage Arguments Value Examples

Description

eq_create_label creates labels for earthquake maps. The labels include: location, magnitude, and the total number of deaths.

Usage

1
eq_create_label(loc, magnitude, deaths)

Arguments

loc

A character vector that contains locations.

magnitude

A numeric vector that contains earthquake magnitudes.

deaths

A numeric vector that contains death counts.

Value

An HTML-formatted string (strings) that is used as a label

Examples

1
eq_create_label('Mexico', 8.0, 2000)

slava-kohut/R-Capstone-SoftDev documentation built on May 20, 2019, 10 a.m.