dfMRMC_example | R Documentation |
An example data frame formatted for 'doIMRMC' and other iMRMC functions.
dfMRMC_example
A data frame with 880 rows and 4 columns:
Factor with 5 levels like "reader1", "reader2", ... As well as the special reader "truth"
Factor with 80 levels like "case1", "case2", ...
Factor with 2 levels like "modality1", "modality2", ... As well as the special modality "truth"
Numeric reader score
Each row of this data frame corresponds to an observation. For every caseID, there must be a row corresponding to the truth observation. The readerID for a truth observation is "truth". The modalityID for a truth observation is "truth". The score for a truth observation must be either 0 (signal-absent) or 1 (signal-present).
# Create a sample configuration file
config <- sim.gRoeMetz.config()
# Simulate an MRMC ROC data set
dfMRMC_example <- sim.gRoeMetz(config)
# Analyze the MRMC ROC data
result <- doIMRMC(dfMRMC_example)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.