viewdata: Build a table of FROC data

Description Usage Arguments Value Author(s) Examples

View source: R/viewdata.R

Description

Create a tabular representation of FROC data from FROC data object.

Usage

1
viewdata(dataList, summary = TRUE, head.only = FALSE)

Arguments

dataList

——————————————————

A Single reader and A single modality (SRSC) case.

——————————————————

In a single reader and a single modality case, it should include f, h, NL, NI, C.

For example data, see the datasets endowed with this package.

data Format:

A single reader and a single modality case

——————————————————————————————————

NI=63,NL=124 confidence level No. of false alarms No. of hits
In R console -> c f h
----------------------- ----------------------- ----------------------------- -------------
definitely present c[1] = 5 f[1] = F_5 = 1 h[1] = H_5 = 41
probably present c[2] = 4 f[2] = F_4 = 2 h[2] = H_4 = 22
equivocal c[3] = 3 f[3] = F_3 = 5 h[3] = H_3 = 14
subtle c[4] = 2 f[4] = F_2 = 11 h[4] = H_2 = 8
very subtle c[5] = 1 f[5] = F_1 = 13 h[5] = H_1 = 1

—————————————————————————————————

—————————————————————————-

Multiple readers and multiple modalities case, i.e., MRMC case

—————————————————————————-

In multiple readers and multiple modalities case, i.e., MRMC case, it should include m,q,c,h,f,NL,C,M,Q which means the followings:

C means the highest number of confidence level, this is a scalar.

M means the number of modalities

Q means the number of readers.

c means the confidence level vector. This vector must be made by rep(rep(C:1), M*Q).

m means the modality ID vector.

q means the reader ID vector.

h means the number of hits vector.

f means the number of false alarm vector.

NL means the Total number of lesions for all images, this is a scalar.

The detail of these dataset, please see the endowed datasets. Note that the maximal number of confidence level, denoted by C, are included, however, its each confidence level vector also created in the program by C. So, to confirm your false positives and hits are correctly correspond to confidence levels, you should confirm the orders by the function viewdata_MRMC.

summary

Logical: TRUE or FALSE. If true then results are printed, if FALSE this function do nothing.

head.only

Logical: TRUE or FALSE. Whether it prints data of head part only (TRUE) or entire (FALSE). If TRUE, only head part are shown. Default is FALSE

Value

Nothing

In order to confirm your data, please view table before fitting. Confidence level vector are created in my program regardless of user's confidence level vectors.

Author(s)

Issei Tsunoda

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
## Not run: 

# The first example, we prepare the data in this package.


             dat  <- get(data("dataList.Chakra.1"))

             viewdata(dat)


# The second examle, we consider a dataset of multiple readers and multiple modalities



             dat <-  get(data("dataList.Chakra.Web"))

             viewdata(dat)



## End(Not run)# dottest

BayesianFROC documentation built on Jan. 23, 2022, 9:06 a.m.