View source: R/confidenceEllipse.R
confidenceEllipse | R Documentation |
?
confidenceEllipse(x, y = NA, interval = 0.95, vectors = 100)
interval |
The proportion of data that should fall in the confidence ellipse. Default: 0.95. |
vectors |
Number of points on the ellipse, equally spaced angularly, not in absolute distance. |
X |
Vector of X-coordinates or a Mx2 matrix with M sets of X and Y coordinates. |
Y |
If X is not a matrix, but a vector this has to be a vector of equal size with Y coordinates. |
?
A list with four entries: - 'poly' data frame with 'vectors' rows, and 2 columns: 'x' and 'y' with coordinates of an ellipse containing 'interval' proportion of the data - 'major' semi-major-axis length (half the length of the ellipse) - 'minor' semi-minor-axis length (half the width of the ellipse) - 'angle' orientation of the ellipse in degrees - 'centre' the centre of the ellipse
?
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.