plot_distribution {EGAD} | R Documentation

## 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

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

[Package EGAD version 1.18.0 Index]