Skip to content

Commit

Permalink
remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisMuir committed Apr 21, 2018
1 parent f3a9c22 commit 2148a70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/ts_anom_detection.R
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ AnomalyDetectionTs <- function(x, max_anoms = 0.10, direction = "pos",
thresh <- quantile(periodic_maxs, .99)
}
# Remove any anoms below the threshold
#anoms <- subset(anoms, anoms[[2]] >= thresh)
anoms <- anoms[anoms[[2]] >= thresh, ]
}
all_anoms <- rbind(all_anoms, anoms)
Expand Down

0 comments on commit 2148a70

Please sign in to comment.