View source: R/simple_ellipse.R
simple_ellipse | R Documentation |
This function can be used to create a confidence (Hotelling T2) interval for a PCA score plot.
simple_ellipse(x, y, alpha = 0.95, len = 200)
x |
x vector |
y |
y vector |
alpha |
confidence interval |
len |
number of points to create the ellipse |
This is a helper function which is used to create a confidence (Hotelling T2) interval for a PCA score plot.
A data frame is returned with the points to create the ellipse.
Rico Derks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.