Skip to contents

Compute ROC and area under ROC

Usage

roc(obs, pred, thresholds)

Arguments

obs

A vector observations (value 0,1)

pred

A vector of probabilities 0,1.

thresholds

A vector of threshold probabilities

Value

a list with area and vectors thresholds, H, F