roc | R Documentation |
Computes the receiver operator characteristics (ROC) for a logistic regression model.
roc(object)
object |
an object of class "glm." |
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 |
Objects of class "roc" have print
and plot
methods.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.