Created
September 5, 2015 22:13
-
-
Save erzk/e58101e0604c0915ce56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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