autoplot: Inspection of a 'ffp' object with ggplot2

autoplot.ffpR Documentation

Inspection of a ffp object with ggplot2

Description

Extends the autoplot method for the ffp class.

Usage

## S3 method for class 'ffp'
autoplot(object, color = TRUE, ...)

## S3 method for class 'ffp'
plot(object, ...)

Arguments

object

An objected of the ffp class.

color

A logical flag indicating whether (or not) the color argument should be added to the ggplot2 aesthetics.

...

Additional arguments to be passed to autoplot.

Value

A ggplot2 object.

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()

ffp documentation built on Sept. 29, 2022, 5:10 p.m.