latex2 | R Documentation |
Exactly like latex of Hmisc
, but fix a bug when
using ctable=TRUE
and add three arguments:
do.begin
, do.end
, tight
.
latex2(object,
title = first.word(deparse(substitute(object))),
file = paste(title, ".tex", sep = ""), append = FALSE,
do.begin = TRUE, do.end = TRUE, label = title,
rowlabel = title, rowlabel.just = "l", cgroup = NULL,
n.cgroup = NULL, rgroup = NULL, n.rgroup = NULL,
cgroupTexCmd = "bfseries", rgroupTexCmd = "bfseries",
rownamesTexCmd = NULL, colnamesTexCmd = NULL,
cellTexCmds = NULL, rowname,
cgroup.just = rep("c", sum(n.cgroup)), colheads = NULL,
extracolheads = NULL, extracolsize = "scriptsize",
dcolumn = FALSE, tight = FALSE,
numeric.dollar = !dcolumn, cdot = FALSE,
longtable = FALSE, draft.longtable = TRUE,
ctable = FALSE, booktabs = FALSE, table.env = TRUE,
here = FALSE, lines.page = 40, caption = NULL,
caption.lot = NULL, caption.loc = c("top", "bottom"),
double.slash = FALSE, vbar = FALSE,
collabel.just = rep("c", nc), na.blank = TRUE,
insert.bottom = NULL,
first.hline.double = !(booktabs | ctable),
where = "!tbp", size = NULL,
center = c("center", "centering", "none"),
landscape = FALSE, multicol = TRUE,
math.row.names = FALSE, math.col.names = FALSE,
rowcolors = NULL, ...)
do.begin |
Should the latex code at the beginning of table be printed? |
do.end |
Should the latex code at the end of table be printed? |
tight |
when using dcolumn tighten columns width. |
rowcolors |
This command is useful for inserting
color command. For instance, if
|
Details here
See latex
of package Hmisc
.
Giuseppe Ragusa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.