plot.bfast {bfast} | R Documentation |
Methods for objects of class "bfast".
Description
Plot methods for objects of class "bfast".
Usage
## S3 method for class 'bfast'
plot(
x,
type = c("components", "all", "data", "seasonal", "trend", "noise"),
sim = NULL,
largest = FALSE,
main,
ANOVA = FALSE,
...
)
Arguments
x |
|
type |
Indicates the type of plot. See details. |
sim |
Optional |
largest |
If TRUE, show the largest jump in the trend component. |
main |
an overall title for the plot. |
ANOVA |
if TRUE Derive Slope and Significance values for each identified trend segment |
... |
further arguments passed to the |
Details
This function creates various plots to demonstrate the results of a bfast
decomposition.
The type of plot shown depends on the value of type
.
components Shows the final estimated components with breakpoints.
all Plots the estimated components and breakpoints from all iterations.
data Just plots the original time series data.
seasonal Shows the trend component including breakpoints.
trend Shows the trend component including breakpoints.
noise Plots the noise component along with its acf and pacf.
If sim
is not NULL
, the components used in simulation are also
shown on each graph.
Value
No return value, called for side effects.
Author(s)
Jan Verbesselt, Rob Hyndman and Rogier De Jong
Examples
## See \code{\link[bfast]{bfast}} for examples.