PlotCbmFit | R Documentation |
Plot the CBM-predicted ROC curve with provided CBM parameters
PlotCbmFit(mu, alpha)
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 |
mu
and alpha
must have equal length.
The predicted ROC curve for each mu
and alpha
pair will be plotted.
A ggplot2 object of the plotted ROC curve(s)
Dorfman DD, Berbaum KS (2000) A contaminated binormal model for ROC data: Part II. A formal model, Acad Radiol 7, 427–437.
cbmPlot <- PlotCbmFit(c(1, 2), c(0.5, 0.5))
## print(cbmPlot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.