View source: R/tableCharacteristics.R
tableCharacteristics | R Documentation |
tableCharacteristics(
result,
type = "gt",
header = c("cdm_name", "cohort_name"),
groupColumn = character(),
hide = c(additionalColumns(result), settingsColumns(result))
)
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
|
A formatted table.
library(CohortCharacteristics)
cdm <- mockCohortCharacteristics()
result <- summariseCharacteristics(cdm$cohort1)
tableCharacteristics(result)
mockDisconnect(cdm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.