screeningcalculator: Screening Test Calculator

View source: R/screeningcalculator.h.R

screeningcalculatorR Documentation

Screening Test Calculator

Description

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$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)

Examples


# example will be added


sbalci/ClinicoPathJamoviModule documentation built on June 13, 2025, 9:34 a.m.