Format covariate header by distributing label across covariate columns

format_covariate_header(
  separator_row,
  printed_colnames,
  covariate_names,
  number_of_total_rows,
  label = "COVARIATES"
)

Arguments

separator_row

The separator row with column widths

printed_colnames

The printed column names

covariate_names

The names of covariate columns

number_of_total_rows

The total number of rows for spacing

label

The label to distribute (default: "COVARIATES")

Value

Formatted header string