survival.quantiles: get survival quantiles

Description Usage Arguments Value

View source: R/survival_misc.R

Description

Get survival quantiles from survival curves for each sample

Usage

1
2
survival.quantiles(surv.percentile = 0.5, prediction, times,
  max.surv.time = max(times))

Arguments

surv.percentile

A vector of survival probabilities.

prediction

A matrix of survival probilites, with row = sample, col = time

times

A vector of times of interest

max.surv.time

Usually maximum follow-up time

Value

A matrix of survival quantitles (times), with row = sample, col = surv.percentile


linxihui/lazyML documentation built on May 21, 2019, 6:39 a.m.