plot_confidence: Bivariate scatter plot with a confidence boundary

Description Usage Arguments Value Examples

Description

Bivariate scatter plot with a confidence boundary calculates via a 2-dimensional kernel density estimate

Usage

1
2
plot_confidence(x, y, confidence = 0.9, title = "", xlab = "x",
  ylab = "y")

Arguments

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

Value

plot

Examples

1
2
3
x <- rnorm(1000)
y <- rnorm(1000)
plot_confidence(x, y, title = "Example plot")

Swarchal/Smisc documentation built on May 9, 2019, 3:23 p.m.