Table of prevalence attrition results
tablePrevalenceAttrition.Rd
Table of prevalence attrition results
Usage
tablePrevalenceAttrition(
result,
type = "gt",
header = "variable_name",
groupColumn = c("cdm_name", "variable_level"),
settingsColumn = omopgenerics::settingsColumns(result),
hide = "estimate_name",
settingsColumns = lifecycle::deprecated()
)
Arguments
- result
A summarised_result object. Output of summariseCohortAttrition().
- type
Type of table. Check supported types with
visOmopResults::tableType()
.- header
Columns to use as header. See options with
colnames(omopgenerics::splitAll(result))
. Variables insettingsColumn
are also allowed- groupColumn
Variables to use as group labels. Allowed columns are the same as in
header
- settingsColumn
Variables from the settings atribute to dispaly in the table
- hide
Table columns to exclude, options are the ones described in
header
- settingsColumns