Learn R Programming

StormR (version 0.2.1)

getBuffer: Getting the buffered location of interest

Description

The getBuffer() function returns the buffered location of interest from a stormsList object.

Usage

getBuffer(sts)

# S4 method for stormsList getBuffer(sts)

Value

A sf object.

Arguments

sts

stormsList

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 buffered location of interest from the sts object
buff <- getBuffer(sts)
# }

Run the code above in your browser using DataLab