Plot method for BRIL.MedianRec
objects
# S3 method for BRIL.MedianRec plot(x, nbIterations = 5, showMedian = FALSE, showMax = FALSE, ...)
x | An object of class |
---|---|
nbIterations | Number of iterations to display, or 0 to show all of them (default: 5) |
showMedian | Logical value, to show the final recursive median (indicated by a "+") |
showMax | Logical value, to show the overall deepest point, or the center of the first MCD/MVE iteration (indicated by a "x") |
... | Other arguments passed to or from other methods |
# Illustrative data XY <- rbind( mvtnorm::rmvnorm(300, c(0, 0), diag(2)), mvtnorm::rmvnorm(100, c(15, 20), diag(2) * 3 - 1), mvtnorm::rmvnorm(150, c(-10, 15), diag(2) * 2 - 0.5), mvtnorm::rmvnorm(200, c(5, 5), diag(2) * 200) ) # Process the data res <- median_rec(XY) # Default plot plot(res)