dot-process_survfit_probs: Process Survival Fit For Quantile Estimates

.process_survfit_probsR Documentation

Process Survival Fit For Quantile Estimates

Description

Process Survival Fit For Quantile Estimates

Usage

.process_survfit_probs(x, probs)

Arguments

x

(survival::survfit())
a survival::survfit() object. See below for details.

probs

(numeric)
a vector of probabilities with values in (0,1) specifying the survival quantiles to return.

Value

a tibble

Examples


survival::survfit(survival::Surv(AVAL, CNSR) ~ TRTA, cards::ADTTE) |>
  cardx:::.process_survfit_probs(probs = c(0.25, 0.75))


cardx documentation built on Sept. 11, 2024, 9:12 p.m.