Learn R Programming

htmlTable (version 2.4.3)

prGetAlign: Gets alignment

Description

Gets alignment

Usage

prGetAlign(
  align,
  index,
  style_list = NULL,
  spacerCell = FALSE,
  followed_by_spacer_cell = FALSE,
  previous_was_spacer_cell = FALSE
)

Arguments

align

A character strings specifying column alignments, defaulting to 'c' to center. Valid chars for alignments are l = left, c = center and r = right. You can also specify align='c|c' and other LaTeX tabular formatting. If you want to set the alignment of the rownames this string needst to be ncol(x) + 1, otherwise it automatically pads the string with a left alignment for the rownames.

index

The index of the align parameter of interest