Learn R Programming

RJafroc (version 1.0.1)

PlotBinormalFit: Plot binormal fit

Description

Plot the binormal-predicted ROC curve with provided parameters

Usage

PlotBinormalFit(a, b)

Arguments

a

vector: the mean(s) of the diseased distribution(s).

b

vector: the standard deviations(s) of the diseased distribution(s).

Value

A ggplot2 object of the plotted ROC curve(s) are returned. Use print function to display the saved object.

Details

a and b must have the same length. The predicted ROC curve for each a and b pair will be plotted.

Examples

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

# }

Run the code above in your browser using DataLab