print.intELtest: Print an intELtest object

Description Usage Arguments See Also Examples

View source: R/print.intELtest.R

Description

Print the integrated EL statistics and the p-value of the test.

Usage

1
2
## S3 method for class 'intELtest'
print(x, digits = max(3L, getOption("digits") - 3L), quiet = FALSE, ...)

Arguments

x

the result of a call to the intELtest function

digits

significant digits to print, the default value is max(3L, getOption("digits") - 3L)

quiet

a logical indicating whether to reduce the amount of output or not, the default value is FALSE

...

for future method

See Also

hepatitis, intELtest, summary.intELtest

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(survELtest)
result = intELtest(survival::Surv(hepatitis$time, hepatitis$censor) ~ hepatitis$group)
print(result)

## OUTPUT:
## Call:
## intELtest(formula = survival::Surv(hepatitis$time, hepatitis$censor) ~ 
##     hepatitis$group)
## 
## Two-sided integrated EL test statistic = 1.42, p = 0.007

survELtest documentation built on Jan. 14, 2020, 1:07 a.m.