plot.daily {dsa}R Documentation

Plot daily time series

Description

Plotting output for objects of class "daily"

Usage

## S3 method for class 'daily'
plot(x, dy = TRUE, trend = FALSE, ...)

Arguments

x

Result of dsa() that will be plotted

dy

should dygraphs be used for plotting

trend

Boolean. Inclusion of a trend estimate.

...

Other plot parameters (only if dy=FALSE)

Details

The original series is plotted in black, the seasonally adjusted series is colored in red, and if trend=T, a blue trend line is added.

Author(s)

Daniel Ollech

Examples

x <- daily_sim(3)$original
## Not run: res<- dsa(x, fourier_number = 24, outlier.types="AO", reg.create=NULL, model=c(3,1,0))
## Not run: plot(res, dy=FALSE)

[Package dsa version 1.0.12 Index]