broom_methods_smcure: Broom methods for smcure objects

broom_methods_smcureR Documentation

Broom methods for smcure objects

Description

Broom methods for smcure objects

Usage

## S3 method for class 'smcure'
tidy(x, exponentiate = FALSE, conf.int = FALSE, conf.level = 0.95, ...)

Arguments

x

An smcure object created by smcure::smcure()

exponentiate

Logical indicating whether or not to exponentiate the coefficient estimates. Defaults to FALSE.

conf.int

A Logical indicating whether or not to include a confidence interval in the tidied output. Defaults to FALSE.

conf.level

Level of the confidence interval. Default matches that in smcure(conf.level=) (typically, 0.95)

...

Additional arguments passed to other methods.

Value

a tibble

Examples

smcure <- smcure::smcure(Surv(ttdeath, death) ~ marker, cureform = ~marker,
 data = trial, model = "ph")

tidy(smcure)

karissawhiting/cure-pipeline documentation built on Aug. 18, 2024, 1:22 a.m.