plot.ellipse: Plot a concentration ellipse

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/plot.ellipse.R

Description

Plot a concentration ellipse obtained from ConcEllipse.

Usage

1
2
3
## S3 method for class 'ellipse'
plot(x, add = TRUE, labeled = FALSE, center = FALSE, centerlabel = "Center",
initial = FALSE, ...)

Arguments

x

An object with class ellipse obtained from ConcEllipse.

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

ConcEllipse

Examples

1
2
3
4
5
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)

PERMANOVA documentation built on Sept. 6, 2021, 5:07 p.m.