probabilities.to.ROC: Performs ROC analysis (and plot) on probability vector

Description Usage Arguments Value

Description

Performs ROC analysis (and plot) on probability vector

Usage

1
probabilities.to.ROC(p, y, step.size = 0.01, plot = TRUE, ...)

Arguments

p

Vector or probabilities of TRUE

y

Logical, factor, or character of TRUE/FALSE

step.size

Increments at which to calculate false and true positive rates

plot

If TRUE then make a simple ROC curve plot.

...

Additional parameters to pass to plot function

Value

fprs

Vector of false positive rates

tprs

Vector of true positive rates

auc

Area under the curve


knights-lab/MWAS documentation built on May 20, 2019, 12:52 p.m.