set.alignment: Sets alignment for tables

View source: R/helpers.R

set.alignmentR Documentation

Sets alignment for tables

Description

This is a helper function to update the alignment (justify parameter in pandoc.table) of the next returning table. Possible values are: centre or center, right, left.

Usage

set.alignment(
  default = panderOptions("table.alignment.default"),
  row.names = panderOptions("table.alignment.rownames"),
  permanent = FALSE
)

Arguments

default

character vector which length equals to one (would be repeated n times) ot n - where n equals to the number of columns in the following table

row.names

string holding the alignment of the (optional) row names

permanent

(default FALSE) if alignment is permanent (for all future tables) or not. It's cleaner to use panderOptions instead.


pander documentation built on March 18, 2022, 6:39 p.m.