sens.spec {jgsbook} | R Documentation |
compute sensitivity and specifity
Description
returns sensitivity specifity, negativ-predictive-value, postitiv-predictive-value
Usage
sens.spec(rp, rn, fp, fn)
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) |
Value
a data.frame with sens, spec, ppw, npw
Examples
sens.spec(40, 17, 85, 4)
[Package jgsbook version 1.0.7 Index]