phiDelta.convert: Convertion of specificity and sensitivity to phi and delta

Description Usage Arguments Value Author(s) Examples

View source: R/phi_delta.R

Description

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

Usage

1
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

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

phiDelta documentation built on May 2, 2019, 2:46 a.m.