setGlobalTableOptions(style = "darwin", type = "tinytable")
result <- mockSummarisedResult()
result |>
visOmopTable(
estimateName = c("N%" = " ()",
"N" = "",
"Mean (SD)" = " ()"),
header = c("cohort_name"),
rename = c("Database name" = "cdm_name"),
groupColumn = strataColumns(result)
)
# drop global options:
setGlobalTableOptions(style = NULL, type = NULL)
Run the code above in your browser using DataLab