ConcEllipse {PERMANOVA} | R Documentation |
Non-parametric concentration ellipses
Description
Calculates non-parametric concentration ellipses for a two-dimensional set of points
Usage
ConcEllipse(data, center = NULL, confidence = 1, npoints = 100)
Arguments
data |
A two dimensional set of points. |
center |
Center of the data. |
confidence |
Confidence for the concentration ellipse. |
npoints |
Number of points to plot. |
Details
Calculates non-parametric concentration ellipses for a two-dimensional set of points using distances to the center.
Value
data |
Original data |
confidence |
Percent of points selected for the ellipse |
ellipse |
points to plot the ellipse |
center |
center of the ellipse |
Author(s)
Laura Vicente-Gonzalez, Jose Luis Vicente-Villardon
References
Meulman, J. J., & Heiser, W. J. (1983). The display of bootstrap solutions in multidimensional scaling. Murray Hill, NJ: Bell Laboratories.
Linting, M., Meulman, J. J., Groenen, P. J., & Van der Kooij, A. J. (2007). Stability of nonlinear principal components analysis: An empirical study using the balanced bootstrap. Psychological Methods, 12(3), 359.
Examples
x=runif(30)
y=x+rnorm(30)*0.3
plot(x, y)
el=ConcEllipse(cbind(x,y), confidence=0.95)
plot(el)