| auc | R Documentation | 
A function returning AUC.
auc(scores, response)
scores | 
 Probability that response is true or 1.  | 
response | 
 Responses coded as logical or 0-or-1.  | 
vector including AUC
https://stackoverflow.com/questions/4903092/calculate-auc-in-r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.