powered by
Plotting output for objects of class "daily"
# S3 method for daily plot(x, dy = TRUE, trend = FALSE, ...)
Result of dsa() that will be plotted
should dygraphs be used for plotting
Boolean. Inclusion of a trend estimate.
Other plot parameters (only if dy=FALSE)
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.
# NOT RUN { 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) # }
Run the code above in your browser using DataLab