summary.intELtest {survELtest}R Documentation

Summary function for intELtest object

Description

Returns a list containing the integrated EL statistics, the critical value based on bootstrap, and the p-value of the test.

Usage

## S3 method for class 'intELtest'
summary(object, digits = max(3L, getOption("digits") - 3L), quiet = FALSE, ...)

Arguments

object

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

Value

summary.intELtest returns a list with following components:

See Also

hepatitis, intELtest, print.intELtest

Examples

library(survELtest)
result = intELtest(survival::Surv(hepatitis$time, hepatitis$censor) ~ hepatitis$group)
summary(result)

## OUTPUT:
## Call:
## intELtest(formula = survival::Surv(hepatitis$time, hepatitis$censor) ~ 
##     hepatitis$group)
## 
## Two-sided integrated EL test statistic = 1.42, p = 0.007,
## critical value based on bootstrap = 0.875 at a significance level of 0.05

[Package survELtest version 2.0.1 Index]