View source: R/screeningcalculator.h.R
screeningcalculator | R Documentation |
Function for Screening Test Probability Calculator.
screeningcalculator(
sens = 0.9,
spec = 0.8,
prev = 0.1,
repeat2 = TRUE,
repeat3 = TRUE,
fnote = FALSE,
fagan = FALSE
)
sens |
. |
spec |
. |
prev |
. |
repeat2 |
. |
repeat3 |
. |
fnote |
. |
fagan |
. |
A results object containing:
results$explanatoryText | a html | ||||
results$mathText | a html | ||||
results$singleTestTable | a table | ||||
results$repeatTest2Table | a table | ||||
results$repeatTest3Table | a table | ||||
results$plot1 | an image | ||||
results$plot2PP | an image | ||||
results$plot2NN | an image | ||||
results$plot3PPP | an image | ||||
results$plot3NNN | an image | ||||
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$singleTestTable$asDF
as.data.frame(results$singleTestTable)
# example will be added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.