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.
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
)
a list, a single (ROC) simulation instance
integer, number of instances
integer, total sample size
numeric, disease prevalence
logical, fixed prevalence (FALSE) or simple random sampling (TRUE)
integer, number of candidates
numeric
numeric
numeric
character
numeric
numeric
numeric
further arguments
ignored (for batchtools compatibility)
ignored (for batchtools compatibility)
Utilizes same arguments as draw_data_roc unless mentioned above.