tidy.survprob: Tidy a(n) survprob object

Description Usage Arguments Value Examples

View source: R/tidy.R

Description

Tidy a(n) survprob object

Usage

1
2
## S3 method for class 'survprob'
tidy(x, ...)

Arguments

x

A 'survprob' object.

...

Unused, included for generic consistency only.

Value

A tidy [tibble::tibble()] summarizing survival probability estimates.

Examples

1
2
3
surv <- survrct(Surv(days, event) ~ A + age + sex + dyspnea + bmi,
                A ~ 1, data = c19.tte)
tidy(survprob(surv, 14))

nt-williams/survrct documentation built on July 29, 2021, 7:46 a.m.