cor_ellipse | R Documentation |
Generate correlation ellipse data
cor_ellipse(
r = 0,
mean = c(0, 0),
sd = c(1, 1),
p = 0.95,
split_x = NULL,
split_y = NULL,
n_points = 10000
)
r |
Correlation coefficient |
mean |
Vector of 2 means |
sd |
Vector of 2 standard deviations |
p |
Proportion of data ellipse covers |
split_x |
Split ellipse at x value |
split_y |
Split ellipse at y value |
n_points |
Number of points |
data.frame
cor_ellipse(r = .75)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.