print method for class "screening_test".

# S3 method for class 'screening_test'
print(x, digits = max(3L, getOption("digits") - 3L), ...)

Arguments

x

an object of class "screening_test", a result of a call to screening_test.

digits

An integer. The number of significant digits to include in the printed probabilities. Passed to format.

...

Additional arguments. None used at present.

Value

Nothing is returned.

See also

Examples

screening_test(0.1, 0.9, 0.9)
#> Prevalence, sensitivity, specificity:
#>        P(D)     P(+ | D)  P(- | notD)  
#>         0.1          0.9          0.9  
#> P(positive test), positive and negative predictive values:
#>        P(+)     P(D | +)  P(notD | -)  
#>      0.1800       0.5000       0.9878