powered by
Plot method for objects of class deficit.
# S3 method for deficit plot(x, type = "dygraph", ...)
An interactive dygraph plot or an xts plot, depending on argument 'type'.
'type'
object of class deficit
if type = "dygraph" interactive time series plotting is done using the dygraphs JavaScript library. Otherwise plot.xts is called.
type = "dygraph"
plot.xts
further arguments, passed on to the subsequent plot function, e.g. step = FALSE.
step = FALSE
dygraph
data(ray) r <- find_droughts(ray, threshold = 0.02) plot(r["1970::1970", ]) plot(r["1970::1970", ], step = FALSE)
Run the code above in your browser using DataLab