getNames {StormR}R Documentation

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 signature 'storm'
getNames(s)

## S4 method for signature 'stormsList'
getNames(s)

Arguments

s

storm or stormsList object.

Value

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


[Package StormR version 0.2.1 Index]