plot_distribution: Plot distribution histogram

Description Usage Arguments Value Examples

View source: R/plot_distribution.R

Description

The function plots a the distribution of AUROCs

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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

1
2
aurocs <- (runif(1000)+runif(1000)+runif(1000)+runif(1000))/4
d <- plot_distribution(aurocs)

sarbal/EGAD documentation built on May 5, 2021, 5:10 p.m.