Skip to contents

Function for Medical Decision Analysis. Sensitivity, specificity, positive predictive value, negative predictive value.

Usage

decision2(data, gold, goldPositive, newtest, testPositive)

Arguments

data

The data as a data frame.

gold

.

goldPositive

.

newtest

.

testPositive

.

Value

A results object containing:

results$cTablea table

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$cTable$asDF

as.data.frame(results$cTable)

Examples

# \donttest{
# example will be added
# }