Skip to contents

Function for Screening Test Probability Calculator.

Usage

screeningcalculator(
  sens = 0.9,
  spec = 0.8,
  prev = 0.1,
  repeat2 = TRUE,
  repeat3 = TRUE,
  fnote = FALSE,
  fagan = FALSE
)

Arguments

sens

.

spec

.

prev

.

repeat2

.

repeat3

.

fnote

.

fagan

.

Value

A results object containing:

results$explanatoryTexta html
results$mathTexta html
results$singleTestTablea table
results$repeatTest2Tablea table
results$repeatTest3Tablea table
results$plot1an image
results$plot2PPan image
results$plot2NNan image
results$plot3PPPan image
results$plot3NNNan image

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$singleTestTable$asDF

as.data.frame(results$singleTestTable)

Examples

# \donttest{
# example will be added
# }