
Variables that can be used for faceting and colouring survival plots
availableSurvivalGrouping.Rd
Variables that can be used for faceting and colouring survival plots
Examples
# \donttest{
cdm <- mockMGUS2cdm()
#> ■■■■■■■■■■■■■■■■■■■■■■■■■ 80% | ETA: 1s
surv <- estimateSingleEventSurvival(cdm,
targetCohortTable = "mgus_diagnosis",
outcomeCohortTable = "death_cohort")
#> - Getting survival for target cohort 'mgus_diagnosis' and outcome cohort
#> 'death_cohort'
#> Getting overall estimates
#> `eventgap`, `outcome_washout`, `censor_on_cohort_exit`, `follow_up_days`, and
#> `minimum_survival_days` casted to character.
availableSurvivalGrouping(surv)
#> [1] "time" "estimate" "estimate_95CI_lower"
#> [4] "estimate_95CI_upper"
# }