Interpreting Seasonal-Hybrid ESD output
The Seasonal-Hybrid ESD algorithm provides some useful output for understanding where the anomalies occur within the data.
In particular, the AnomalyDetectionVec()
function generates output as a list with the two elements
$anoms
, a data frame containing the columnsindex
andanoms
$plot
a plot of the time series with anomalies highlighted (ifplot = T
)
Este ejercicio forma parte del curso
Introduction to Anomaly Detection in R
Ejercicio interactivo práctico
Prueba este ejercicio completando el código de muestra.
# Use Seasonal-Hybrid ESD for nitrate concentrations
river_anomalies <- AnomalyDetectionVec(___)