Usage
tex.table(dm, bare = FALSE, prec = if (bare) "NA" else 2, rnames = if (bare) "-1" else dimnames(dm)[[1]], cnames = if (bare) "-1" else dimnames(dm)[[2]], caption = NULL, label = NULL, tpos = "b", stretch = NULL, adjust = "r", file = NULL)
tex.tab0(dm, prec = 2, rnames = NULL, cnames = NULL, caption = NULL, label = NULL, tpos = "b", stretch = NULL, adjust = "r", file = NULL)
Arguments
bare
TRUE: prec,rnames,cnames
will get useful
defaults, FALSE: set these parameters yourself
prec
precision of rounding within the LATEX table, if NA, then no transformation to numeric is done
caption
caption for LATEX table, default: no caption
label
LATEX label for the table, default: no lable
tpos
position of captions: "a" for above table, "b" for below table
stretch
optional vector with two entries, giving the baselinestretch for the caption (stretch[1]) and the colums of the table (stretch[2]);
default: no adjustment of baselinestretch
adjust
adjusts the columns of the LATEX table, default: "r" (right),
also possible: "l" (left) and "c" (centre) or user defined:
"adjust=c("l","c","r",...)" yields {l|cr...}
file
output file, default: printout in console