getScale {StormR} | R Documentation |
Getting maximum level in the wind scale
Description
The getScale()
function return the maximum wind scale category reached by
each storm in the storm
or stormsList
object.
Usage
getScale(s)
## S4 method for signature 'storm'
getScale(s)
## S4 method for signature 'stormsList'
getScale(s)
Arguments
s |
|
Value
numeric vector.
Examples
#Creating a stormsDataset
sds <- defStormsDataset()
#Getting storm track data for all storms near New Caledonia
sts <- defStormsList(sds=sds, loi = "New Caledonia")
#Getting maximum level in the wind scale
#reached by each storm in the sts object
getScale(sts)
[Package StormR version 0.2.1 Index]