powered by
Return point with maximum depth function value. If multiple points have the same value, mean average of them will be returned.
depthMedian(x, depth_params = list(), convex = FALSE)# S4 method for matrix depthMedian(x, depth_params = list(), convex = FALSE)# S4 method for data.frame depthMedian(x, depth_params = list(), convex = FALSE)# S4 method for Depth depthMedian(x, convex = FALSE)
# S4 method for matrix depthMedian(x, depth_params = list(), convex = FALSE)
# S4 method for data.frame depthMedian(x, depth_params = list(), convex = FALSE)
# S4 method for Depth depthMedian(x, convex = FALSE)
object of class Depth or matrix.
list of parameters for function depth (method, threads, ndir, la, lb, pdim, mean, cov, exact).
logical. If true, than centroid of the convex hull created from deepest points is returned.
# NOT RUN { # depthMedian for matrix x <- matrix(rnorm(600), nc = 3) depthMedian(x) # depthMedian works with object of class Depth dp <- depth(x) depthMedian(dp) # }
Run the code above in your browser using DataLab