Learn R Programming

EGAD (version 1.0.3)

plot_distribution: Plot distribution histogram

Description

The function plots a the distribution of AUROCs

Usage

plot_distribution(auc, b = 20, col = "lightgrey", xlab = "", ylab = "Density", xlim = c(0.4, 1), ylim = c(0, 5), med = TRUE, avg = TRUE, density = TRUE, bars = FALSE)

Arguments

auc
numeric aucs
b
array of breaks
col
color of line
xlab
string label
ylab
string label
xlim
range of values for xaxis
ylim
range of values for yaxis
med
boolean to plot median auc
avg
boolean to plot average auc
density
boolean
bars
boolena for barplot

Value

auc list and quartiles

Examples

Run this code
aurocs <- (runif(1000)+runif(1000)+runif(1000)+runif(1000))/4
d <- plot_distribution(aurocs)

Run the code above in your browser using DataLab