plot.ellipse {PERMANOVA} | R Documentation |
Plot a concentration ellipse
Description
Plot a concentration ellipse obtained from ConcEllipse
.
Usage
## S3 method for class 'ellipse'
plot(x, add = TRUE, labeled = FALSE, center = FALSE, centerlabel = "Center",
initial = FALSE, ...)
Arguments
x |
An object with class |
add |
Should the ellipse be added to the current plot? |
labeled |
Should the ellipse be labelled with the confidence level? |
center |
Should the center be plotted? |
centerlabel |
Label for the center. |
initial |
Should the initial data be plotted? |
... |
Any other graphical parameter that can affects the plot (as color, etc ...). |
Details
Plots an ellipse containing a specified percentage of the data.
Value
No value returned.
Author(s)
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.
See Also
Examples
data(iris)
dat=as.matrix(iris[1:50,1:2])
plot(iris[,1], iris[,2],col=iris[,5], asp=1)
E=ConcEllipse(dat, confidence=0.95)
plot(E, add=TRUE, center=TRUE)