pdsample1 {ExPD2D} | R Documentation |
pdsample1
function calculates projection depth of a given bivariate data points. This function is almost the same as pdsample
, but only the object output is the projection depth of the given arbitrary point (not necessary sample point), with respect to the given data. It will be called by pdpoint
function.
pdsample1(x,y)
x |
A numeric vector (the x coordinates of the data) |
y |
A numeric vector (the y coordinates of the data) |
Yijun Zuo, Xiangyang Ye
Yijun Zuo, Projection-based Depth Functions and Associated Medians. The Annals of Statistics 2003; Vol 31, No. 5, 1460-1490
Yijun zuo, Exactly Compute Bivariate Projection Depth and Stahel-Donoho Estimator. Manuscript, 2009
data(pds) pdsample1(pds$x,pds$y)