print.nocrossings: Print a nocrossings object

Description Usage Arguments See Also Examples

View source: R/print.nocrossings.R

Description

Returns the decision for rejection of the null hypothesis that there are crossings or alternative orderings among the survival functions.

Usage

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

Arguments

x

the result of a call to the nocrossings 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, nocrossings, summary.nocrossings

Examples

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

## OUTPUT:
## Call:
## nocrossings(formula = survival::Surv(hepatitis$time, hepatitis$censor) ~ 
##     hepatitis$group, sided = 1)
## 
## Decision = 1

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