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
)
Cet exercice fait partie du cours
Introduction to Anomaly Detection in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Use Seasonal-Hybrid ESD for nitrate concentrations
river_anomalies <- AnomalyDetectionVec(___)