dfMRMC_example: Example of iMRMC formatted data frame

dfMRMC_exampleR Documentation

Example of iMRMC formatted data frame

Description

An example data frame formatted for 'doIMRMC' and other iMRMC functions.

Usage

dfMRMC_example

Format

A data frame with 880 rows and 4 columns:

readerID

Factor with 5 levels like "reader1", "reader2", ... As well as the special reader "truth"

caseID

Factor with 80 levels like "case1", "case2", ...

modalityID

Factor with 2 levels like "modality1", "modality2", ... As well as the special modality "truth"

score

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).

Examples

# 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)


iMRMC documentation built on Sept. 11, 2024, 7:12 p.m.

Related to dfMRMC_example in iMRMC...