plot_density_compare: Plot density comparisons

Description Usage Arguments Value Examples

View source: R/plot_density_compare.R

Description

The function plots two density curves and compares their modes

Usage

1
2
3
4
5
6
7
8
plot_density_compare(
  aucA,
  aucB,
  col = "lightgrey",
  xlab = "AUROC (neighbor voting)",
  ylab = "Density",
  mode = TRUE
)

Arguments

aucA

numeric array of aurocs

aucB

numeric array of aurocs

col

color of lines

xlab

string label

ylab

string label

mode

boolean to plot mode or mean

Value

null

Examples

1
2
3
aurocsA <- (runif(1000)+runif(1000)+runif(1000)+runif(1000))/4
aurocsB <- runif(1000)
plot_density_compare(aurocsA, aurocsB)

EGAD documentation built on Nov. 8, 2020, 8:31 p.m.