phiDelta.convert {phiDelta}R Documentation

Convertion of specificity and sensitivity to phi and delta

Description

converts specificity and sensitivity to phi and delta depending on the ratio

Usage

phiDelta.convert(spec, sens, ratio = 1)

Arguments

spec

is the specificity, the true negative rate

sens

is the sensitivity, the true positive rate

ratio

is the ratio of positive and negative of the data. The default is 1

Value

List with phi and delta vectors

Author(s)

neumann

Examples

phiDelta.convert(1,0)
phiDelta.convert(0.5,0.3, ratio = 0.8)

[Package phiDelta version 1.0.1 Index]