decision2 | R Documentation |
Function for Medical Decision Analysis. Sensitivity, specificity, positive predictive value, negative predictive value.
decision2(data, gold, goldPositive, newtest, testPositive)
data |
The data as a data frame. |
gold |
. |
goldPositive |
. |
newtest |
. |
testPositive |
. |
A results object containing:
results$cTable | a table | ||||
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$cTable$asDF
as.data.frame(results$cTable)
# example will be added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.