mm_ellipse | R Documentation |
Add confidence ellipses to an active scatterplot.
mm_ellipse(
dat,
ci = c(67.5, 90, 95, 99),
linesCol = "black",
fillCol = "grey",
smoothness = 20
)
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. |
No value. Will add an ellipses of a given size to the current plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.