sGetTexMatrix: Function returning a matrix as tex output

Description Usage Arguments Value

Description

The matrix specified by pmatAMatrix is converted to TeX using function xtable::xtable. This produces a tabular TeX-object. The output from xtable::xtable is converted to a TeX-array. Some lines at the beginning and at the end are ignored. The number of lines that are ignored can be specified using the parameters pnOutStartLine and pnEndIgnoreLines.

Usage

1
2
sGetTexMatrix(pmatAMatrix, pnOutStartLine = 5, pnEndIgnoreLines = 1,
  pnDigits = 2)

Arguments

pmatAMatrix

Matrix to be represented in tex format

pnOutStartLine

line index where output should start, default = 5

pnEndIgnoreLines

number of lines to be ignored at the end of the output, default = 1

pnDigits

specify the number of digits to be used

Value

string containing tex representation of matrix


charlotte-ngs/ZLHS2016 documentation built on May 13, 2019, 3:33 p.m.