Skip to content
This repository was archived by the owner on Nov 13, 2021. It is now read-only.

Commit

Permalink
Fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
akejariwal committed Jan 6, 2015
1 parent 4ecac53 commit c5fdbdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/ts_anom_detection.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ AnomalyDetectionTs = function(x, max_anoms=0.10, direction='pos', alpha=0.05, on
}
# Rename data frame columns if necessary
if (any((names(x) == c("timestamp", "count")) == FALSE)) {
colnames(x) <- c("timestamps", "count")
colnames(x) <- c("timestamp", "count")
}

# Sanity check all input parameters
Expand Down Expand Up @@ -324,4 +324,4 @@ AnomalyDetectionTs = function(x, max_anoms=0.10, direction='pos', alpha=0.05, on
} else {
return (list("anoms"=anoms, "plot"=NULL))
}
}
}

0 comments on commit c5fdbdb

Please sign in to comment.