gtsummary methods
tbl_regression.cureit.Rd
This function is an S3 methods for working with cureit()
model
results.
tbl_regression.cureit()
: This function sets the cureit tidier forcureit()
models.
Usage
# S3 method for class 'cureit'
tbl_regression(x, tidy_fun = cureit::tidy, ...)
Arguments
- x
(
cureit
)cureit::cureit()
regression object- tidy_fun
(
function
)
Tidier function for the model. Default iscureit::tidy()
.- ...
Additional arguments passed to
broom.helpers::tidy_plus_plus()
. See?tidy_plus_plus_dots
for details.- type
not used
Examples
cureit(surv_formula = Surv(days, status) ~ ulceration,
cure_formula = ~ ulceration, data = melanoma) |>
gtsummary::tbl_regression() |>
gtsummary::as_gt()
#> Warning: 0 of 100 did not converge.
Characteristic
Beta
95% CI1
p-value
1 CI = Confidence Interval