top_earthquakes: Filter earthquakes by magnitude

Description Usage Arguments Value Examples

View source: R/filter.R

Description

Pick the top n_max earthquakes acoording to their magnitude.

Usage

1
top_earthquakes(data, n_max, date_min = -Inf, date_max = Inf)

Arguments

data

Earthquake data

n_max

Max number of earthquakes to pick

date_min

Minimum date

date_max

Maximum date

Value

A dataframe with the filtered data

Examples

1

raggaraluz/mastering_r_capstone documentation built on May 29, 2019, 6:53 p.m.