sens_spec | R Documentation |
calculate the sensitivity and specificity from a grouping and a measurement
sens_spec(status, measure, data = NULL, disease.value = 1, direction = 1)
status |
the grouping of diagnosis |
measure |
a predictive value |
data |
a data frame or similar |
disease.value |
if status is not 0/1 specify the value indicating a positive diagnosis |
direction |
if 1 then a higher value is more indicative of a positive diagnosis, anything the other way around |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.