sens.spec: sensitivity and specificity of an assessment instrument

Description Usage Arguments Author(s) References Examples

Description

This function generates sensitivity and specificity for all possible cut-off-points of an assessment instrument using the assessment-scores.

Usage

1
sens.spec(x, y, risk = 1, dir = "LESS", plot = F)

Arguments

x

score of an assessment-instrument (numeric)

y

a factor which classify x to positive or negative group

risk

y-value for the positive group (e.g. 1 or "y"))

dir

"LESS" if a low (x) leads to positive group; "GREATER" wether a high (x) leads to positive group

plot

logical wether a plot should be generated

Author(s)

Produnis

References

http://de.wikibooks.org/wiki/GNU_R:_Programmierbeispiele#Beispiel_2

Examples

1
2
# Using the cms-Dataset
## Not run: sens.spec(cms$ascore, cms$arisk, risk=1)


Search within the wikibooks package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.