tableCohortCount {CohortCharacteristics} | R Documentation |
Format a summarise_characteristics object into a visual table.
Description
Usage
tableCohortCount(
result,
type = "gt",
header = "cohort_name",
groupColumn = character(),
hide = c("variable_level", settingsColumns(result))
)
Arguments
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
|
Value
A formatted table.
Examples
library(CohortCharacteristics)
cdm <- mockCohortCharacteristics()
result <- summariseCohortCount(cdm$cohort1)
tableCohortCount(result)
mockDisconnect(cdm = cdm)
[Package CohortCharacteristics version 0.4.0 Index]