plot_density_compare {EGAD}R Documentation

Plot density comparisons

Description

The function plots two density curves and compares their modes

Usage

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

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


[Package EGAD version 1.21.0 Index]