Learn R Programming

RJafroc (version 1.0.1)

PlotCbmFit: Plot CBM fitted curve

Description

Plot the CBM-predicted ROC curve with provided CBM parameters

Usage

PlotCbmFit (mu, alpha)

Arguments

mu

vector: the mean(s) of the z-samples of the diseased distribution(s) where the disease is visible

alpha

vector: the proportion(s) of the diseased distribution(s) where the disease is visible

Value

A ggplot2 object of the plotted ROC curve(s)

Details

mu and alpha must have equal length. The predicted ROC curve for each mu and alpha pair will be plotted.

References

Dorfman DD, Berbaum KS (2000) A contaminated binormal model for ROC data: Part II. A formal model, Acad Radiol 7, 427--437.

Examples

Run this code
# NOT RUN {
cbmPlot <- PlotCbmFit(c(1, 2), c(0.5, 0.5))
print(cbmPlot)


# }

Run the code above in your browser using DataLab