pdpoint {ExPD2D} | R Documentation |
pdpoint
function calculates projection depth of a given point with respect to the given bivariate data.
pdpoint(xpt,x,y)
xpt |
An arbitrary bivariate data set for its projection depth with respect to x and y |
x |
A numeric vector (x coordinates of the given data) |
y |
A numeric vector (y coordinates of the given 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) xpt <- pds[1,] #one point prediction pdpoint(xpt,pds$x,pds$y) #multiple points prediction pdpoint(pds,pds$x,pds$y)