Learn R Programming

lava (version 1.4.1)

diagtest: Calculate diagnostic tests for 2x2 table

Description

Calculate prevalence, sensitivity, specificity, and positive and negative predictive values

Usage

diagtest(table, positive = 2, ...)

Arguments

table
Table or (matrix/data.frame with two columns)
positive
Switch reference
...
Additional arguments to lower level functions