PlotCbmFit {RJafroc} | R Documentation |
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 |
Details
mu
and alpha
must have equal length.
The predicted ROC curve for each mu
and alpha
pair will be plotted.
Value
A ggplot2 object of the plotted ROC curve(s)
References
Dorfman DD, Berbaum KS (2000) A contaminated binormal model for ROC data: Part II. A formal model, Acad Radiol 7, 427–437.
Examples
cbmPlot <- PlotCbmFit(c(1, 2), c(0.5, 0.5))
## print(cbmPlot)
[Package RJafroc version 2.1.2 Index]