Return point with maximum depth function value. If multiple points have the same value, mean average of them will be returned.
## S4 method for signature 'matrix'
## S4 method for signature 'data.frame'
## S4 method for signature 'Depth'
object of class Depth or matrix.
arguments passed to depth function (e.g method).
# depthMedian for matrix
x = matrix(rnorm(600), nc = 3)
# depthMedian works with object of class Depth
dp = depth(x)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.