View source: R/tableCohortAttrition.R
| tableCohortAttrition | R Documentation |
tableCohortAttrition(
result,
type = "gt",
header = "variable_name",
groupColumn = c("cdm_name", "cohort_name"),
hide = c("variable_level", "reason_id", "estimate_name", settingsColumns(result)),
.options = list()
)
result |
A summarised_result object. |
type |
Type of table. Check supported types with
|
header |
Columns to use as header. See options with
|
groupColumn |
Columns to group by. See options with
|
hide |
Columns to hide from the visualisation. See options with
|
.options |
A named list with additional formatting options.
|
A formatted table.
library(CohortCharacteristics)
cdm <- mockCohortCharacteristics()
result <- summariseCohortAttrition(cdm$cohort2)
tableCohortAttrition(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.