Skip to content

Commit

Permalink
removing patch which shouldn't have been applied to vec_anom_detectio…
Browse files Browse the repository at this point in the history
…n for Issue 29
  • Loading branch information
Jordan Hochenbaum committed Apr 1, 2015
1 parent 507c947 commit e4568c0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions R/vec_anom_detection.R
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,6 @@ AnomalyDetectionVec = function(x, max_anoms=0.10, direction='pos', alpha=0.05, p
xgraph <- xgraph + add_formatted_y(yrange, y_log=y_log)
}

# Fix to make sure date-time is correct and that we retain hms at midnight
all_anoms[[1]] <- format(all_anoms[[1]], format="%Y-%m-%d %H:%M:%S")

# Store expected values if set by user
if(e_value) {
anoms <- data.frame(index=all_anoms[[1]], anoms=all_anoms[[2]], expected_value=subset(seasonal_plus_trend[[2]], seasonal_plus_trend[[1]] %in% all_anoms[[1]]))
Expand Down

0 comments on commit e4568c0

Please sign in to comment.