
The getNames()
function returns the names of the storms
in a storm
or a stormsList
object.
getNames(s)# S4 method for storm
getNames(s)
# S4 method for stormsList
getNames(s)
character vector.
storm
or stormsList
object.
# \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