roctable: Make a ROC Table

Description Usage Arguments Value Examples

View source: R/ROCTable.R

Description

Make a ROC Table (S3 object derived from a R matrix). The ROC Table includes seven columns, corresponding to the following variables: sensitivity ("1-Sens"), 1 - specificity ("1-Spec"), Youden index ("J"), Global Diagnostic Accuracy ("GDA"), Positive Likelihood Ratio ("LR+"), Negative Likelihood Ratio ("LR-"), and the corresponding cut-off values ("Cut-off")

Usage

1
roctable(marker, status)

Arguments

marker

The disease marker (a continuous variable)

status

Patient status: 0 = control, 1 = case

Value

rocmatr, the ROC Table Matrix (S3 object)

Examples

1
2
3
## Not Run:
RocCa125 <- roctable(PancreaticData$Ca125, PancreaticData$Status)
head(RocCa125)

parodistefano/properROC documentation built on May 24, 2019, 6:16 p.m.