simplex: Hausdorff distances between the convex hulls of two point...

Description Usage Arguments Value Author(s) References Examples

View source: R/fun-disp2D.R

Description

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

Usage

1
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

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

disp2D documentation built on May 30, 2017, 12:09 a.m.