getNbStorms {StormR}R Documentation

Getting the number of storm

Description

The getNbStorms() returns the number of storm objects in the given stormsList object.

Usage

getNbStorms(sts)

## S4 method for signature 'stormsList'
getNbStorms(sts)

Arguments

sts

stormsList

Value

numeric, the number of storm objects.

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 number of storms in the sts object
getNbStorms(sts)


[Package StormR version 0.2.1 Index]