set.alignment: Sets alignment for tables

Description Usage Arguments

View source: R/helpers.R

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

1
2
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 Aug. 6, 2017, 5:05 p.m.