Description Usage Arguments Value Examples
Calculate the area under a ROC curve from a ROC Table. ROC Table is an S3 object derived from an R matrix and generated by the roctable() function
1 | rocauc(roc)
|
roc |
A ROC Table (S3 object) |
auc, the area under the ROC curve whose coordinates are in the first two columns of the ROC table
1 2 3 | ROCCa125 <- roctable(PancreaticData$Ca125, PancreaticData$Status)
AUCCa125 <- rocauc(ROCCa125)
print(paste("AUC for Ca125 tumour marker: ", round(AUCCa125,4)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.