Description Usage Arguments See Also Examples
View source: R/print.supELtest.R
Print the maximally selected EL statistics and the p-value of the test.
1 2 |
x |
the result of a call to the |
digits |
significant digits to print, the default value is |
quiet |
a logical indicating whether to reduce the amount of output or not, the default value is |
... |
for future method |
hepatitis
, supELtest
, summary.supELtest
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | library(survELtest)
nocrossings(survival::Surv(hepatitis$time, hepatitis$censor)~
hepatitis$group, sided = 1)
## OUTPUT:
## Call:
## nocrossings(formula = survival::Surv(hepatitis$time, hepatitis$censor) ~
## hepatitis$group, sided = 1)
##
## Decision = 1
## A decision value of 1 means the case of crossings or alternative orderings among the
## survival functions is excluded. Thus, we can proceed to the one-sided test.
result = supELtest(survival::Surv(hepatitis$time, hepatitis$censor)~
hepatitis$group, sided = 1)
print(result)
## OUTPUT:
## Call:
## supELtest(formula = survival::Surv(hepatitis$time, hepatitis$censor) ~
## hepatitis$group, sided = 1)
##
## One-sided maximally selected EL test statistic = 10.36, p = 0.006
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.