View source: R/univariate_tsout_ensemble.R
uv_tsout_ens | R Documentation |
Performs univariate time series outlier ensemble.
uv_tsout_ens(x, frequency = 1, dates = NULL)
x |
A univariate time series as either a |
frequency |
The frequency associated with the time series |
dates |
The dates associated with the time series. This is needed for the package |
A list with the following components:
|
The outliers detected, repeated if detected by multiple outlier methods. |
|
The outliers detected R package |
|
The outliers detected R package |
|
The outliers detected R package |
|
The outliers detected R package |
|
A matrix containing zeros and ones, with ones representing time points identified as outliers from different methods. |
## Not run: set.seed(100) n <- 500 x <- sample(1:100, n, replace=TRUE) x[25] <- 200 x[320] <- 270 df <- data.frame(timestamp=1:n, value=x) plot(ts(df$value)) out <- uv_tsout_ens(x) out ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.