| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/helpers.R |
| 3 |
\name{set.alignment} |
| 4 |
\alias{set.alignment} |
| 5 |
\title{Sets alignment for tables} |
| 6 |
\usage{ |
| 7 |
set.alignment( |
| 8 |
default = panderOptions("table.alignment.default"), |
| 9 |
row.names = panderOptions("table.alignment.rownames"), |
| 10 |
permanent = FALSE |
| 11 |
) |
| 12 |
} |
| 13 |
\arguments{ |
| 14 |
\item{default}{character vector which length equals to one (would be repeated \code{n} times) ot \code{n} - where \code{n} equals to the number of columns in the following table} |
| 15 |
|
| 16 |
\item{row.names}{string holding the alignment of the (optional) row names} |
| 17 |
|
| 18 |
\item{permanent}{(default \code{FALSE}) if alignment is permanent (for all future tables) or not. It's cleaner to use \code{panderOptions} instead.} |
| 19 |
} |
| 20 |
\description{ |
| 21 |
This is a helper function to update the alignment (\code{justify} parameter in \code{pandoc.table}) of the next returning table. Possible values are: \code{centre} or \code{center}, \code{right}, \code{left}. |
| 22 |
} |