Description Usage Arguments Value Examples
Produces a confidence boudnary wth a 2D kernel density estimate from a bivariate scatter plot, and then calculates the area within the confidence boundary.
1 | area_of_confidence(x, y, confidence = 0.9)
|
x |
Values to be used on the x-axis |
y |
Values to be used on the y-axis |
confidence |
Confidence interval between 0 and 1 Default is 0.9, i.e 90% confidence inverval |
The area within the calculated confidence boundary
1 2 | x <- rnorm(1000) ; y <- rnorm(1000)
area_of_confidence(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.