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)

x | object of class Depth or matrix. |
---|---|

depth_params | list of parameters for function depth (method, threads, ndir, la, lb, pdim, mean, cov, exact). |

convex | logical. If true, than centroid of the convex hull created from deepest points is returned. |

#> [1] 0.003463217 -0.014476701 -0.125499978#> [1] 0.003463217 -0.014476701 -0.125499978