Find the first anomaly after a given time point and return the number of intervals past until detection.
1 | find_anomaly(df, start.time, K = 6, timeout = 48)
|
df |
the input data frame. |
start.time |
the starting datetime. |
K |
the minimum number of contiguous single-point anomalies needed to conclude an anomalous sequence. |
timeout |
maximum acceptable period (number of intervals) for a useful detection. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.