Convert an MRMC data frame to a design matrix, dropping readers or cases with no observations
convertDFtoDesignMatrix(dfMRMC, modality = NULL, dropFlag = TRUE)
A matrix that is nCases by nReaders indicating which scores were reported for each reader and case
An MRMC data frame
The score matrix depends on the modality. If more than one modality exists in the data frame, you must specify which modality to subset.
[logical] The default setting (TRUE) removes readers and cases that have no observations. Dropping them by default will speed up analyses. Leaving the levels (dropFlag = FALSE) is useful if you need the entire score or design matrix when comparing or doing analyses with two modalities.