Description Usage Arguments Examples
Return point with maximum depth function value. If multiple points have the same value, mean average of them will be returned.
1 2 3 4 5 6 7 8 9 10 | depthMedian(x, ...)
## S4 method for signature 'matrix'
depthMedian(x, ...)
## S4 method for signature 'data.frame'
depthMedian(x, ...)
## S4 method for signature 'Depth'
depthMedian(x)
|
x |
object of class Depth or matrix. |
... |
arguments passed to |
1 2 3 4 5 6 7 | # depthMedian for matrix
x = matrix(rnorm(600), nc = 3)
depthMedian(x)
# depthMedian works with object of class Depth
dp = depth(x)
depthMedian(dp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.