surv_fit: Survival curves for a survcut object.

View source: R/functions.R

surv_fitR Documentation

Survival curves for a survcut object.

Description

Calculates survival curves for the variable stratified by the optimal cutoffs.

Usage

surv_fit(x, ...)

Arguments

x

a survcut object.

...

extra arguments passed to survfit.

Details

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

Value

a survfit object or a list of survfit objects.


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