Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
# run the anomaly detection
posixDate <- as.POSIXct(gbppln$Date)
gbppl_ad_df <- data.frame(posixDate, gbppln$Rate)
fx.ad <- AnomalyDetectionVec(gbppl_ad_df$gbppln.Rate,
max_anoms=0.05,
direction='both',
plot=TRUE,
period=30)
# plot the anomalies
fx.ad$plot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment