sens: Sensitivity, Specificity and False Positive Rate

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Calculate basic measures of diagnostic accuracy for a number of studies.

Usage

1
2
3
sens(x)
spec(x)
fpr(x)

Arguments

x

a data frame with variables including TP, FN, FP, TN, alternatively a matrix with column names including these.

Details

These functions are the basic building blocks of many procedures to assess diagnostic accuracy. For a decent summary of set of primary studies it is better to use madad, for graphical summaries crosshair and ROCellipse are available.

Value

A numeric vector.

Author(s)

Philipp Doebler <philipp.doebler@googlemail.com>

See Also

madad, crosshair, link{ROC.ellipse}

Examples

1
2
3
data(AuditC)
plot(fpr(AuditC), sens(AuditC), main = "AUDIT-C data on ROC space",
     ylab = "Sensitivity", xlab = "False Positive Rate")


Search within the mada package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.