add.ellipse | R Documentation |
Calculates and plots ellipse corresponding to specified confidence interval in 2-dimensional plot
add.ellipse(
centroid,
covmat,
confidence = 0.95,
npoints = 100,
col = "black",
...
)
centroid |
Vector with two elements defining the ellipse centroid. |
covmat |
Covariance matrix for the investigated data. Only diagonal covariances supported. |
confidence |
Confidence level determining the ellipse borders based on the covariance matrix. |
npoints |
Number of plotting points. |
col |
Color. |
... |
Other arguments to be passed. |
Used for plotting side effects.
Leo Lahti leo.lahti@iki.fi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.