Learn R Programming

jgsbook (version 1.0.6)

sens.spec: compute sensitivity and specifity

Description

returns sensitivity specifity, negativ-predictive-value, postitiv-predictive-value

Usage

sens.spec(rp, rn, fp, fn)

Value

a data.frame with sens, spec, ppw, npw

Arguments

rp

number of true-positive (richtig-positiv)

rn

number of true-negative (richtig-negativ)

fp

number of false-positive (falsch-positiv)

fn

number of false-negative (falsch-negativ)

Examples

Run this code
sens.spec(40, 17, 85, 4)

Run the code above in your browser using DataLab