pdpoint {ExPD2D}R Documentation

Projection depth of a point with respect to a given bivariate data

Description

pdpoint function calculates projection depth of a given point with respect to the given bivariate data.

Usage

pdpoint(xpt,x,y)

Arguments

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)

Author(s)

Yijun Zuo, Xiangyang Ye

References

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

See Also

pdsample

Examples

data(pds)
xpt <- pds[1,]

#one point prediction
pdpoint(xpt,pds$x,pds$y)

#multiple points prediction
pdpoint(pds,pds$x,pds$y)

[Package ExPD2D version 1.0.1 Index]