roc: Receiver Operator Characteristics for Logistic Regression

View source: R/roc.R

rocR Documentation

Receiver Operator Characteristics for Logistic Regression

Description

Computes the receiver operator characteristics (ROC) for a logistic regression model.

Usage

roc(object)

Arguments

object

an object of class "glm."

Value

An object of class "roc" haveing these components:

c.val

the area under the ROC curve

table

a 3-column matrix of the fitted values, sensitivity and specificity

Note

Objects of class "roc" have print and plot methods.

References

Gonen, M., 2006, Receiver Operating Characteristics (ROC) Curves: SAS Users Group International Conference, Paper 210-31 18 p., available at http://www2.sas.com/proceedings/sugi31/210-31.pdf, last accessed Octocer 26, 2011.


USGS-R/smwrStats documentation built on Oct. 11, 2022, 6:15 a.m.