Learn R Programming

BayesianFROC (version 1.0.0)

extract_data_frame_from_dataList_MRMC: Extract sub data frame from list of FROC data

Description

Makes a dataframe from a list consisting of vectors m,q,c,h,f and positive integers NL,C,M,Q,NI. The resulting data-frame is construceted by vectors m,q,c,h,f.

Usage

extract_data_frame_from_dataList_MRMC(dataList, verbose = FALSE)

Arguments

dataList

A list of MRMC data.

verbose

A logical, if TRUE, then the redundant summary is printed in R console. If FALSE, it suppresses output from this function.

Value

A data frame consisting of vectors m,q,c,h,f.

m

A vector of positive integers, representing the modality ID vector.

q

A vector of positive integers, representing the reader ID vector.

c

A vector of positive integers, representing the confidence level. This vector must be made by rep(rep(C:1), M*Q)

h

A vector of non-negative integers, representing the number of hits.

f

A vector of non-negative integers, representing the number of false alarms.

Examples

Run this code
# NOT RUN {

#========================================================================================
#                      From example dataset named dddddd
#========================================================================================

## Only run examples in interactive R sessions
if (interactive()) {

 fit_GUI_Shiny_MRMC(DF=extract_data_frame_from_dataList_MRMC(dddddd))


}## Only run examples in interactive R sessions


# }
# NOT RUN {
# }

Run the code above in your browser using DataLab