broom_methods_cureit: Broom methods for cureit objects

broom_methods_cureitR Documentation

Broom methods for cureit objects

Description

Broom methods for cureit objects

Usage

## S3 method for class 'cureit'
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

See Also

Other cureit() functions: Brier_inference_bootstrap(), cureit(), nomogram(), predict.cureit()

Examples

cureit <- cureit(surv_formula = Surv(ttdeath, death) ~ marker, cure_formula = ~marker,
 data = trial)

tidy(cureit)

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