View source: R/utilityFunctions.R
undoIMRMCdf | R Documentation |
Convert a doIMRMC formatted data frame to a standard data frame with all factors.
undoIMRMCdf(df.MRMC)
df.MRMC |
This data frame includes columns for readerID, caseID, modalityID, score. Each row is a reader x case x modality observation from the study In addition to observations from the study, this data frame requires rows specifying the truth for each caseID. For truth specifications, the readerID needs to equal "truth" or "-1", modalityID can be anything ("truth" is a good choice), and score should be 0 for signal-absent normal case, 1 for signal-present disease case. |
Delete rows specifying truth and put the truth information on every row.
output a data frame with columns readerID, caseID, modalityID, score, truth
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.