sens.spec: compute sensitivity and specifity

View source: R/functions.R

sens.specR 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)


jgsbook documentation built on June 24, 2024, 5:06 p.m.