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)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.