Learn R Programming

RJafroc (version 1.3.2)

UtilLesionWeightsDistr: Lesion weights distribution

Description

The lesion weights distribution, assuming equal weights. Needed to plot empirical curves for FROC data (ROC, wAFROC).

Usage

UtilLesionWeightsDistr(dataset)

Arguments

dataset

The supplied dataset.

Value

lesWghtDistr The lesion weights distribution, an [1:nRow,1:(maxLL+1)] array, where nRow is the number of lesions per case in the dataset and maxLL is the maximum number of lesions per case in the dataset. The first column contains the number of lesions per case, while the remaining columns contain the weights (equal weighting assumed). Missing values are filled with -Inf. This parameter is not to be confused with the lesionWeight list member in an FROC dataset, which enumerates the weights of lesions on individual cases. See PlotRsmOperatingCharacteristics for a function that depends on lesWghtDistr.See Chapter00Vignette2 for fuller explanation.

Examples

Run this code
# NOT RUN {
UtilLesionWeightsDistr (dataset11) # FROC data
UtilLesionWeightsDistr (dataset02) # ROC data
UtilLesionWeightsDistr (datasetCadLroc) # LROC data

# }

Run the code above in your browser using DataLab