plot.ellipse | R Documentation |
Plot a concentration ellipse obtained from ConcEllipse
.
## S3 method for class 'ellipse'
plot(x, add=TRUE, labeled= FALSE ,
center=FALSE, centerlabel="Center", initial=FALSE, ...)
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 ...) |
Plots an ellipse containing a specified percentage of the data.
No value returned
Jose Luis Vicente Villardon
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.
ConcEllipse
, ~~~
data(iris)
dat=as.matrix(iris[1:50,1:2])
plot(iris[,1], iris[,2],col=iris[,5], asp=1)
E=ConcEllipse(dat, 0.95)
plot(E, labeled=TRUE, center=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.