plotM <- c(1:2)
plotR <- c(1:3)
EmpiricalOpCharac(dataset = rocData, trts = plotM, rdrs = plotR,
lgdPos = "bottom", opChType = "ROC")
## Above is the example of plotting individual ROC operating characteristics of modalities
## 1 and 2 and readers 1 to 3. Six operating characteristics will be plotted, which are
## operating characteristics of reader 1 modality 1, reader 1 modality 2, reader 2 modality
## 1, reader 2 modality 2, reader 3 modality 1 and reader 3 modality 2.
plotM <- list(1, 2, c(1:2))
plotR <- list(2, c(2:3), c(1:3))
EmpiricalOpCharac(dataset = rocData, trts = plotM, rdrs = plotR,
lgdPos = "bottom", opChType = "ROC")
EmpiricalOpCharac(dataset = frocData, trts = plotM, rdrs = plotR,
lgdPos = "bottom", opChType = "AFROC")
EmpiricalOpCharac(dataset = frocData, trts = plotM, rdrs = plotR,
lgdPos = "bottom", opChType = "FROC")
## Above is the example of plotting three ROC, AFROC and FROC operating characteristics.
## They are the individual operating characteristic of modality 1 reader 2, the
## averaged operating characteristic of modality 2 and reader 2 and 3 and the averaged
## operating characteristic of modality 1 and 2 and reader 1 to 3.
Run the code above in your browser using DataLab