plot.deficit {lfstat} | R Documentation |
Plot time series of deficits
Description
Plot method for objects of class deficit.
Usage
## S3 method for class 'deficit'
plot(x, type = "dygraph", ...)
Arguments
x |
object of class deficit |
type |
if |
... |
further arguments, passed on to the subsequent plot function, e.g. |
Value
An interactive dygraph plot or an xts plot, depending on argument 'type'
.
See Also
Examples
data(ray)
r <- find_droughts(ray, threshold = 0.02)
plot(r["1970::1970", ])
plot(r["1970::1970", ], step = FALSE)
[Package lfstat version 0.9.12 Index]