plot.drought | R Documentation |
Plots spi or nspi index of a data.table input with class drought
## S3 method for class 'drought'
plot(x, label = TRUE, log = TRUE, type = "drought", ...)
x |
data.table of class drought |
label |
logical |
log |
logical |
type |
character |
... |
some arguments |
ggplot2
mIndex = computenspi(x = dummyrainfall(1950, 2000),
stationary = TRUE,
spiScale = 12,
dist = 'gamma')
plot(mIndex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.