Description Usage Arguments Value Examples
View source: R/decisioncalculator.h.R
Function for Medical Decision Calculator.
1 | decisioncalculator(TP = 90, TN = 80, FP = 30, FN = 20, pp = FALSE, pprob = 0.3)
|
TP |
. |
TN |
. |
FP |
. |
FN |
. |
pp |
. |
pprob |
Prior probability (disease prevelance in the community). Requires a value between 0.001 and 0.999, default 0.300. |
A results object containing:
results$text2 | a preformatted | ||||
results$manualtable | a table | ||||
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$manualtable$asDF
as.data.frame(results$manualtable)
1 2 3 4 | ## Not run:
# example will be added
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.