Creates a formatted table of cohort characteristics, to be included in publications or reports. Allows for creating a table describing a single cohort, or a table comparing two cohorts.

createTable1(covariateData1, covariateData2 = NULL,
specifications = getDefaultTable1Specifications(),
output = "two columns", percentDigits = 1, valueDigits = 1,
stdDiffDigits = 2)

## Arguments

covariateData1 The covariate data of the cohort to be included in the table. The covariate data of the cohort to also be included, when comparing two cohorts. Specifications of which covariates to display, and how. The output format for the table. Options are output = "two columns", output = "one column", or output = "list". Number of digits to be used for percentages. Number of digits to be used for the values of continuous variables. Number of digits to be used for the standardized differences.

## Value

A data frame, or, when output = "list" a list of two data frames.