cols_align: Set table column alignment

View source: R/table-align.R

cols_alignR Documentation

Set table column alignment

Description

Set table column alignment

Usage

cols_align(
  .default = "l",
  ...,
  .r = NULL,
  .c = NULL,
  .l = NULL,
  .coltype = "p",
  .outer = c("none", "l", "r", "lr"),
  .complete = NULL
)

cols_center(...)

cols_left(...)

cols_right(...)

Arguments

.default

the default column alignment

...

exceptions to use from .default; each argument should be named by a column in the data set; values should be either "l", "c", or "r"; for example: WT = "l"

.r

column names as character vector or comma separated string to align right; for example: .r = "WT,AGE"

.c

column names as character vector or comma separated string to center; ; for example: .c = "WT,AGE"

.l

column names as character vector or comma separated string to align left; ; for example: .l = "WT,AGE"

.coltype

should be p, m, or b

.outer

force the left-most column to the left (l), or the right-most column on the right (r), or both (lr)

.complete

not used


metrumresearchgroup/pmtables documentation built on Oct. 27, 2024, 5:16 p.m.