phiDelta.convert function

Convertion of specificity and sensitivity to phi and delta

Convertion of specificity and sensitivity to phi and delta

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

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

Returns

List with phi and delta vectors

Examples

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

Author(s)

neumann

  • Maintainer: Ursula Neumann
  • License: GPL (>= 2)
  • Last published: 2018-05-08

Useful links