getInObs | R Documentation |
The getInObs()
function returns the number of the
observations in a given storm
or stormsList
object.
getInObs(s, ...)
## S4 method for signature 'stormsList'
getInObs(s, name, season = NULL)
## S4 method for signature 'storm'
getInObs(s)
s |
|
... |
extra argument for |
name |
character. Name of the storm in capital letters. |
season |
numeric. Cyclonic season of the |
Numeric vector.
#Creating a stormsDataset
sds <- defStormsDataset()
#Getting storm track data for all storms near New Caledonia
sts <- defStormsList(sds=sds, loi = "New Caledonia")
#Getting the number of the observation for the tropical cyclone Niran in the sts object
getInObs(getStorm(sts, name = "NIRAN"))
getInObs(sts, name = "NIRAN")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.