Last data update: 2014.03.03

R: Hausdorff distances between the convex hulls of two point...
simplexR Documentation

Hausdorff distances between the convex hulls of two point sets with three elements.

Description

From an original 2D point set, different two bootstrap samples are obtained and the Hausdorff distances between them evaluated.

Usage

simplex(x, bootstrap = TRUE, nresamples = 10)

Arguments

x

A matrix.

bootstrap

bootstrap = TRUE then we take two bootstrap samples.

nresamples

A positive integer indicating the number of two bootstrap samples.

Value

Hausdorff distances between the convex hulls.

Author(s)

Guillermo Ayala <Guillermo.Ayala@uv.es>

References

Ayala G. and Lopez M. The simplex dispersion ordering and its application to the evaluation of human corneal endothelia. Journal of Multivariate Analysis, 100:1447-1464, 2009.

G. Ayala, M.C. Lopez-Diaz, M. Lopez-Diaz and L. Martinez-Costa. Methods and algorithms to test the simplex and Hausdorff dispersion orders with a simulation study and an Ophthalmological application. Technical Report. 2012

Examples

A = matrix(runif(200),ncol=2,nrow=100)
d1 = simplex(A,bootstrap=TRUE,nresamples=100)

Results