process_variables Checks and process main variables, checks for errors, creates defaults
process_variables(
min_Prevalence = NULL,
max_Prevalence = NULL,
Sensitivity = NULL,
Specificity = NULL,
limits_Sensitivity = NULL,
limits_Specificity = NULL,
overlay_labels = NULL,
overlay_position_FP = NULL,
overlay_position_FN = NULL,
overlay_prevalence_1 = NULL,
overlay_prevalence_2 = NULL,
PPV_NPV = "PPV",
one_out_of = NULL,
overlay = "",
steps_matrix = 100
)
x in the "x out of y" prevalence (y-axis): [1-Inf]
y in the "x out of y" prevalence (y-axis): [1-Inf]
Sensitivity of the test: [0-100]
Specificity of the test: [0-100]
c(min Sensitivity, max Sensitivity)
c(min Specificity, max Specificity)
vector with labels for each overlay point
FP value (position in the x-axis) for each point in the overlay. For example: c(7, 8, 9, 12, 14, 14)
FN value (position in the x-axis) for each point in the overlay. For example: c(7, 8, 9, 12, 14, 14)
Prevalence value (position in the y-axis) for each point in the overlay. For example: c(1, 1, 1, 2, 1, 1)
Prevalence value (position in the y-axis) for each point in the overlay. For example: c(26, 29, 44, 69, 227, 1667)
Should show PPV or NPV ["PPV", "NPV"]
Show y scale as 1 out of x [TRUE, FALSE] FALSE by default
Type of overlay: ["line", "area"]
with of PPV/NPV matrix. 100 by default