nomogram_methods_cureit: Nomogram for cureit objects

nomogramR Documentation

Nomogram for cureit objects

Description

Nomogram for cureit objects

Usage

nomogram(x, survival = TRUE, cure = TRUE, time = NULL, angle = 0, ...)

Arguments

x

cureit object

survival

Logical indicating whether or not to output the nomogram based on the survival submodel. Defaults to TRUE.

cure

Logical indicating whether or not to output the nomogram based on the cured probability submodel. Defaults to TRUE.

time

Numeric vector of times to obtain survival probability estimates at

angle

angle of text labels

...

Additional arguments passed to other methods.

Value

a tibble

See Also

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

Examples

c <- cureit(surv_formula = Surv(ttdeath, death) ~ age + grade, 
cure_formula = ~ age + grade,  data = trial)

nomogram(x = c,time=300)

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