add_ellipse | R Documentation |
Add ellipse
add_ellipse(plot, ...)
plot |
A |
... |
Arguments passed on to |
A tidyplot
object.
pca |>
tidyplot(x = pc1, y = pc2, color = group) |>
add_data_points() |>
add_ellipse()
pca |>
tidyplot(x = pc1, y = pc2, color = group) |>
add_data_points() |>
add_ellipse(level = 0.75)
pca |>
tidyplot(x = pc1, y = pc2, color = group) |>
add_data_points() |>
add_ellipse(type = "norm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.