generate_instance_roc {cases} | R Documentation |
Generate data sets under realistic parameter configurations
Description
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!
Usage
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
)
Arguments
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) |
Details
Utilizes same arguments as draw_data_roc unless mentioned otherwise above.
Value
(list)
a single (ROC) simulation instance of length nrep