roc2binary {iMRMC} | R Documentation |
Convert ROC data formatted for doIMRMC to TPF and FPF data formatted for doIMRMC
Description
Convert ROC data formatted for doIMRMC to TPF and FPF data formatted for doIMRMC
Usage
roc2binary(df.auc, threshold)
Arguments
df.auc |
data frame of roc scores formatted for doIMRMC |
threshold |
The threshold for determining binary decisions |
Value
a list of two data frames (df.tpf and df.fpf) both formatted for doIMRMC
Examples
# Create a sample configuration file
config <- sim.gRoeMetz.config()
# Simulate an MRMC ROC data set
dFrame.imrmc <- sim.gRoeMetz(config)
# Convert ROC MRMC data to TPF and FPF data frames
result <- roc2binary(dFrame.imrmc, threshold = 0.9)
# Analyze TPF data using doIMRMC
tpf_result <- doIMRMC(result$df.tpf)
# View(tpf_result$perReader)
[Package iMRMC version 2.0.0 Index]