print.acc.1test: Print "acc.1test"-Object

Description Usage Arguments See Also Examples

View source: R/DTComPair.R

Description

Prints objects of class acc.1test in an easy-to-read form.

Usage

1
2
## S3 method for class 'acc.1test'
print(x, ...)

Arguments

x

An object of class acc.1test.

...

Additional arguments (usually not required).

See Also

acc.1test.

Examples

1
2
3
4
data(Paired1) # Hypothetical study data 
a1 <- tab.1test(d=d, y=y1, data=Paired1)
a2 <- acc.1test(a1)
print(a2)

Example output

Loading required package: gee
Loading required package: PropCIs
Diagnostic accuracy of test 'y1'

(Estimates, standard errors and 95%-confidence intervals)

                 Est.         SE  Lower CL  Upper CL
Sensitivity 0.8802661 0.01528718 0.8503038 0.9102284
Specificity 0.6781609 0.02891782 0.6214830 0.7348388
PPV         0.8253638 0.01731081 0.7914353 0.8592924
NPV         0.7662338 0.02784617 0.7116563 0.8208113

           Est.  SE (log)  Lower CL  Upper CL
PDLR  2.7351124 0.0915147 2.2860079 3.2724472
NDLR  0.1765568 0.1346088 0.1356142 0.2298601

DTComPair documentation built on May 29, 2017, 8:40 p.m.