The subsetStorms() function keeps only specified storms from a stormsList
object based on their names and seasons, removing all others.
Examples
if (FALSE) { # \dontrun{
sds <- defStormsDataset(...)
sts <- defStormsList(sds, loi="Vanuatu", seasons=c(1990, 2000))
# Keep only specific storms
sts <- subsetStorms(sts, names=c("PAM", "NIRAN"), seasons=c(2015, 2021))
} # }
