View source: R/draw_data_roc.R
draw_data_roc | R Documentation |
Generate binary data (ROC model)
draw_data_roc(
n = 100,
prev = c(0.5, 0.5),
random = FALSE,
m = 10,
auc = seq(0.85, 0.95, length.out = 5),
rho = c(0.25, 0.25),
dist = c("normal", "exponential"),
e = 10,
k = 100,
delta = 0,
modnames = paste0("model", 1:m),
corrplot = FALSE,
...
)
n |
(numeric) |
prev |
(numeric) |
random |
(logical) |
m |
(numeric) |
auc |
(numeric) |
rho |
(numeric) |
dist |
(character) |
e |
(numeric) |
k |
(numeric) |
delta |
(numeric) |
modnames |
(character) |
corrplot |
(logical) |
... |
(any) |
(list)
list of matrices including generated binary datasets
(1: correct prediction, 0: incorrect prediction) for each subgroup (specificity, sensitivity)
data <- draw_data_roc()
head(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.