plotTemporal | R Documentation |
Plotting wind behaviour time series and summary statistics at given point locations
plotTemporal(data, storm, var = "speed")
data |
time series generated with |
storm |
list of characters. Storm names. The storm must be available in
|
var |
character. Represent the type of variable to plot. Must be either
|
null
sds <- defStormsDataset()
st <- defStormsList(sds = sds, loi = "Vanuatu", names = "PAM", verbose = 0)
df <- data.frame(x = c(168.33, 167.17), y = c(-17.73, -15.53))
rownames(df) <- c("Port_Vila", "Luganville")
# Generate temporal series of wind on the points
TS <- temporalBehaviour(st, points = df, product = "TS", tempRes = 30, verbose = 0)
# Plot temporal series of wind speed
plotTemporal(data=TS, storm="PAM")
# Plot temporal series of wind direction
plotTemporal(data=TS, storm="PAM", var='direction')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.