getObs {StormR} | R Documentation |
Getting observations
Description
The getObs()
function returns observed track data for a storm
in a storm
or stormsList
object.
Usage
getObs(s, ...)
## S4 method for signature 'stormsList'
getObs(s, name, season = NULL)
## S4 method for signature 'storm'
getObs(s)
Arguments
s |
|
... |
extra argument for |
name |
character. Name of the storm in capital letters. |
season |
numeric. Cyclonic season of the |
Value
A data.frame.
Examples
#Creating a stormsDataset
sds <- defStormsDataset()
#Getting storm track data for all storms near New Caledonia
sts <- defStormsList(sds=sds, loi = "New Caledonia")
#Getting the observed track data for the tropical
#cyclone Niran in the sts object
getObs(getStorm(sts, name = "NIRAN"))
getObs(sts, name = "NIRAN")
[Package StormR version 0.2.1 Index]