mm_ellipse {moRphomenses} | R Documentation |
Add confidence ellipses to an active scatterplot.
Description
Add confidence ellipses to an active scatterplot.
Usage
mm_ellipse(
dat,
ci = c(67.5, 90, 95, 99),
linesCol = "black",
fillCol = "grey",
smoothness = 20
)
Arguments
dat |
A matrix of data to draw an ellipses around. |
ci |
Percentage of data to capture. Must be one of c(67.5, 90, 95, 99). |
linesCol |
Border color of the shape. |
fillCol |
Fill color of the shape. |
smoothness |
Lower values will look jagged, higher value will make smoother lines, but may take a long time to plot. Default value is 20. |
Value
No value. Will add an ellipses of a given size to the current plot.
[Package moRphomenses version 1.0.3 Index]