mat2TeX: Ouput matrix to LaTeX

Description Usage Arguments Author(s)

View source: R/mat2TeX.r

Description

The function outputs a matrix to a LaTeX table

Usage

1
2
3
4
mat2TeX(mat, digits = 4, rowNameTitle = "", file = "",
 roundNum = NULL, rowNameAlign = "l", matAlign = "r",
 prtHead = TRUE, prtEnd = TRUE, extraTitle = NULL,
 rowNameCols = 1, append = FALSE)

Arguments

mat

a matrix

digits

number of digits

rowNameTitle

title above row names

file

output file

roundNum

integer indicating the precision

rowNameAlign

alignment of row names, default is "l"

matAlign

alignment of columns, default is "r"

prtHead

if TRUE the begin{tabular} line is produced

prtEnd

if TRUE the end{tabular} line is produced

extraTitle

extra title

rowNameCols

the row name column, default is 1

append

if TRUE the output is appended to file, deafult is FALSE

Author(s)

Juerg Kindermann; code found on R list


SAGx documentation built on Nov. 8, 2020, 8:18 p.m.