View source: R/generate_instance.R
generate_instance_roc | R Documentation |
Generates a (simulation) instance, a list of multiple datasets to be processed (analyzed) with process_instance. Ground truth parameters (Sensitvity & Specificity) are initially generated according to a generative model whereby multiple decision rules (with different parameter values) are derived by thresholding multiple biomarkers.
This function is only needed for simulation via batchtools, not relevant in interactive use!
generate_instance_roc(
nrep = 10,
n = 100,
prev = 0.5,
random = FALSE,
m = 10,
auc = "seq(0.85, 0.95, length.out = 5)",
rhose = 0.5,
rhosp = 0.5,
dist = "normal",
e = 10,
k = 100,
delta = 0,
...,
data = NULL,
job = NULL
)
nrep |
(numeric) |
n |
(numeric) |
prev |
(numeric) |
random |
(logical) |
m |
(numeric) |
auc |
(numeric) |
rhose |
(numeric) |
rhosp |
(numeric) |
dist |
(character) |
e |
(numeric) |
k |
(numeric) |
delta |
(numeric) |
... |
(any) |
data |
(NULL) |
job |
(NULL) |
Utilizes same arguments as draw_data_roc unless mentioned otherwise above.
(list)
a single (ROC) simulation instance of length nrep
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.