asSurvivalResult {CohortSurvival} | R Documentation |
A tidy implementation of the summarised_characteristics object.
Description
A tidy implementation of the summarised_characteristics object.
Usage
asSurvivalResult(result)
Arguments
result |
A summarised_characteristics object. |
Value
A tibble with a tidy version of the summarised_characteristics object.
Examples
cdm <- mockMGUS2cdm()
surv <- estimateSingleEventSurvival(
cdm = cdm,
targetCohortTable = "mgus_diagnosis",
targetCohortId = 1,
outcomeCohortTable = "death_cohort",
outcomeCohortId = 1,
eventGap = 7
) %>%
asSurvivalResult()
[Package CohortSurvival version 0.5.2 Index]