View source: R/defStormsList.R
| removeStorms | R Documentation |
stormsList objectThe removeStorms() function removes specified storms from a stormsList
object based on their names and seasons.
removeStorms(sts, names, seasons)
sts |
|
names |
character vector. Names of storms to remove (in capital letters) |
seasons |
numeric vector. Seasons of storms to remove (same length as |
stormsList object without the specified storms
## Not run:
sds <- defStormsDataset(...)
sts <- defStormsList(sds, loi="Vanuatu", seasons=c(1990, 2000))
# Remove specific storms
sts <- removeStorms(sts, names=c("UNNAMED", "BARRY"), seasons=c(1990, 1989))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.