Learn R Programming

StormR (version 0.2.1)

getScale: 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 storm getScale(s)

# S4 method for stormsList getScale(s)

Value

numeric vector.

Arguments

s

storm or stormsList object.

Examples

Run this code
# \donttest{
#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)
# }

Run the code above in your browser using DataLab