getScale-methods: Getting maximum level in the wind scale

getScaleR 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

storm or stormsList object.

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)


StormR documentation built on Sept. 12, 2024, 6:52 a.m.