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

StormR (version 0.2.1)

getNames: Getting the names of the storms

Description

The getNames() function returns the names of the storms in a storm or a stormsList object.

Usage

getNames(s)

# S4 method for storm getNames(s)

# S4 method for stormsList getNames(s)

Value

character 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 the names of the storms from the sts object
getNames(sts)
# }

Run the code above in your browser using DataLab