countQuakes | R Documentation |
Counts the number of earthquakes per year that fall within a certain time interval.
countQuakes(qdat, minmag, from, to)
qdat |
a data frame containing columns named |
minmag |
minimum magnitude |
from |
first year |
to |
last year |
a table with the number of earthquakes per year
data(declustered,package='geostats') quakesperyear <- countQuakes(declustered,minmag=5.0,from=1917,to=2016) table(quakesperyear)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.