getNbStorms-methods: Getting the number of 'storm'

getNbStormsR 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)


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