surv_diff: Test for survival differences between the strata.

View source: R/functions.R

surv_diffR Documentation

Test for survival differences between the strata.

Description

Tests for differences in survival for the variable stratified by the optimal cutoffs.

Usage

surv_diff(x, ...)

Arguments

x

a survcut object.

...

extra arguments passed to survdiff.

Details

Technically, a wrapper around survdiff. If more cutoffs were identified, returns a list with the survdiff objects.

Value

a survdiff object or a list of survdiff objects.


PiotrTymoszuk/kmOptimizer documentation built on May 10, 2022, 3:22 p.m.