Format a summariseOverlapCohort result into a visual table.
Source:R/tableCohortOverlap.R
tableCohortOverlap.Rd
Usage
tableCohortOverlap(
result,
uniqueCombinations = TRUE,
type = "gt",
header = c("variable_name"),
groupColumn = c("cdm_name"),
hide = c("variable_level", settingsColumns(result))
)
Arguments
- result
A summarised_result object.
- uniqueCombinations
Whether to restrict to unique reference and comparator comparisons.
- type
Type of table. Check supported types with
visOmopResults::tableType()
.- header
Columns to use as header. See options with
availableTableColumns(result)
.- groupColumn
Columns to group by. See options with
availableTableColumns(result)
.- hide
Columns to hide from the visualisation. See options with
availableTableColumns(result)
.
Examples
# \donttest{
library(CohortCharacteristics)
cdm <- mockCohortCharacteristics()
overlap <- summariseCohortOverlap(cdm$cohort2)
tableCohortOverlap(overlap)
#> `result_id` is not present in result.
#> `result_id` is not present in result.
#> `result_id` is not present in result.
#> `result_id` is not present in result.
PP_MOCK
mockDisconnect(cdm = cdm)
# }