convertDF {iMRMC} | R Documentation |
Convert a data frame from matrix format to list format
convertDF(inDF, inDFtype, outDFtype, readers, nameTruth)
inDF |
A dataframe with reading study result in |
inDFtype |
A string indicating the format type of the input data frame |
outDFtype |
A string indicating the format type of the output data frame. |
readers |
A list of strings presenting the readerIDs |
nameTruth |
NULL |
matrixWithTruth indicating the format type that each row contains all the information for a case, including the reader study result for several readers, ground truth and other information as seperate columns;
listWithTruth indicating the format type that includes columns for readerID, caseID, score, ground truth, and other information if there is any.
A dataframe with reading study result in outDFtype
format