50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

StormR (version 0.2.1)

getNbStorms: 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 stormsList getNbStorms(sts)

Value

numeric, the number of storm objects.

Arguments

sts

stormsList

Examples

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

Run the code above in your browser using DataLab