Skip to content

Commit

Permalink
setting default size of ellipse to be 3
Browse files Browse the repository at this point in the history
  • Loading branch information
dicook committed Mar 7, 2024
1 parent 735219d commit 335541c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/display-xy.r
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ display_xy <- function(center = TRUE, axes = "center", half_range = NULL,
mdst <- sqrt(mahalanobis(data, center=rep(0, ncol(data)), cov=ellipse))
#mdst <- mahal_dist(data, ellipse)
anomalies <- which(mdst > ellsize)
cat(length(anomalies), "\n")
points(x[anomalies,],
col = "red",
pch = 4,
Expand Down

0 comments on commit 335541c

Please sign in to comment.