plot {RobKF} | R Documentation |
plot
Description
A function to plot the output produced by AORKF_t
, AORKF_huber
, IORKF_huber
or IOAORKF
.
One can specify a time during the run for which the output should be displayed.
Usage
## S3 method for class 'ioaorkf'
plot(x, time = NULL, horizon = NULL, subset = NULL, ...)
## S3 method for class 'rkf'
plot(x, time = NULL, subset = NULL, conf_level = 0.95, ...)
Arguments
x |
An instance of an |
time |
A positive integer giving the time at which the output is to be displayed. It defaults to the number of observations. |
horizon |
A positive integer giving the smoothing horizon that is to be used. It must be at least equal to the number of rows of the horizonmatrix used to obtain the ioaorkf object. |
subset |
A list of integers indicating the components of observations which are to be plotted. |
... |
Ignored. |
conf_level |
A probability between 0 and 1 giving the confidence level at which the series are to be tested against anomalies. It defaults to 0.95. |
Value
A ggplot object.
[Package RobKF version 1.0.2 Index]