Extends the autoplot method for the ffp class.
Usage
# S3 method for ffp
autoplot(object, color = TRUE, ...)
# S3 method for ffp
plot(object, ...)Arguments
- object
An objected of the
ffpclass.- color
A
logicalflag indicating whether (or not) thecolorargument should be added to theggplot2aesthetics.- ...
Additional arguments to be passed to
autoplot.
Examples
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()