Description Usage Arguments Value Examples
Bivariate scatter plot with a confidence boundary calculates via a 2-dimensional kernel density estimate
1 2 | plot_confidence(x, y, confidence = 0.9, title = "", xlab = "x",
ylab = "y")
|
x |
Numerical vector |
y |
Numerical vector |
confidence |
Confidence interval between 0 and 1, default is 0.9 i.e 90% CI |
title |
Title of plot |
xlab |
x-axis label |
ylab |
y-axis label |
plot
1 2 3 | x <- rnorm(1000)
y <- rnorm(1000)
plot_confidence(x, y, title = "Example plot")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.