plot_density_compare {EGAD} | R Documentation |
The function plots two density curves and compares their modes
plot_density_compare( aucA, aucB, col = "lightgrey", xlab = "AUROC (neighbor voting)", ylab = "Density", mode = TRUE )
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 |
null
aurocsA <- (runif(1000)+runif(1000)+runif(1000)+runif(1000))/4 aurocsB <- runif(1000) plot_density_compare(aurocsA, aurocsB)