Formats and prints an rmw_fast object, showing the standardized
log-rank and modestly-weighted component Z-scores, their null correlation,
the survival-probability threshold s_star, the combined test
statistic, and the corresponding p-value.
Arguments
- x
An object of class
"rmw_fast"returned byrmw_fast.- digits
Number of significant digits to display. Defaults to the global option
getOption("digits").- ...
Additional arguments (currently unused).
Examples
library(survival)
fit <- rmw_fast(ovarian$futime, ovarian$fustat, ovarian$rx,
control = 1, side = 1, s_star = 0.5)
print(fit)
#> Robust modestly-weighted log-rank test (two-group)
#>
#> N = 26, control = 1, s_star = 0.5
#>
#> Z
#> log-rank -1.0309
#> modestly-weighted -0.7583
#>
#> Null correlation = 0.9821
#> min Z = -1.031, one-sided p-value = 0.169
#> ---
#> Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
