powered by
ffp
Extends the autoplot method for the ffp class.
autoplot
# S3 method for ffp autoplot(object, color = TRUE, ...)# S3 method for ffp plot(object, ...)
# S3 method for ffp plot(object, ...)
A ggplot2 object.
ggplot2
An objected of the ffp class.
A logical flag indicating whether (or not) the color argument should be added to the ggplot2 aesthetics.
logical
color
Additional arguments to be passed to autoplot.
library(ggplot2) x <- exp_decay(EuStockMarkets, 0.001) y <- exp_decay(EuStockMarkets, 0.01) autoplot(x) + scale_color_viridis_c() autoplot(y) + scale_color_viridis_c()
Run the code above in your browser using DataLab