plot.bfast {bfast} | R Documentation |
Plot methods for objects of class "bfast".
## S3 method for class 'bfast': plot(x, type = c("components", "all", "data", "seasonal", "trend", "noise"), sim = NULL, largest=FALSE, main, ...)
x |
bfast object |
type |
Indicates the type of plot. See details. |
sim |
Optional stl object containing the original components used when simulating x . |
largest |
If TRUE, show the largest jump in the trend component. |
main |
an overall title for the plot. |
... |
further arguments passed to the plot function. |
This function creates various plots to demonstrate the results of a bfast decomposition.
The type of plot shown depends on the value of type
.
If sim
is not NULL
, the components used in simulation are also shown on each graph.
Jan Verbesselt and Rob Hyndman
## See bfast
for examples.