Description Usage Arguments Value Examples
Function to idendtify anomalies in time series data. Function similar to Seasonal ESD approach here : https://arxiv.org/pdf/1704.07706.pdf
1 2 3 |
df |
input data.frame |
index_var |
optional column name of index variable. default is NULL which uses the first column in the input data.frame |
x_var |
optional column name of numeric variable to analyze. efault is NULL which uses the second column in the input data.frame |
ts_frequency |
time series frequency. default is 1 |
stl_args |
list of arguments to pass to stl function. s.window argument required - default is 'periodic' |
confidence |
anomaly threshold confidence level. higher levels increase the anomaly threshold |
direction |
direction of anomaly idendification. Options are 'positive', 'negative', or 'both' |
data.frame with input dataset, stl components and flag for anomalies
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.