Learn R Programming

CohortSurvival (version 1.1.0)

asSurvivalResult: A tidy implementation of the summarised_characteristics object.

Description

A tidy implementation of the summarised_characteristics object.

Usage

asSurvivalResult(result)

Value

A tibble with a tidy version of the summarised_characteristics object.

Arguments

result

A summarised_characteristics object.

Examples

Run this code
# \donttest{
cdm <- mockMGUS2cdm()
surv <- estimateSingleEventSurvival(
  cdm = cdm,
  targetCohortTable = "mgus_diagnosis",
  targetCohortId = 1,
  outcomeCohortTable = "death_cohort",
  outcomeCohortId = 1,
  eventGap = 7
) |>
asSurvivalResult()
# }

Run the code above in your browser using DataLab