Description Usage Arguments Value
Helper function to make Hmisc's latex easier
1 2 3 4 5 |
file |
the file to be written, default to "" which means no file but stdout |
booktabs |
boolean, whether to use booktabs package or not, default to TRUE |
ctable |
boolean, whether to use ctable package or not, default to FALSE |
caption |
see Hmisc::latex, default to NULL. |
caption.loc |
see Hmisc::latex, default to "top". |
rowlabel |
label for first column with rownames, default to "" |
n.cgroup |
see Hmisc::latex, default to NULL. If NULL but cgroup is not will be set accordingly |
cgroup |
see Hmisc::latex |
n.rgroup |
see Hmisc::latex, default to NULL. If NULL but rgroup is not will be set accordingly |
rgroup |
see Hmisc::latex |
p.columns |
column numbers of columns with p values. If NULL p values are not highlighted. Default to NULL. |
p.level |
p values below that significance level are highligted for better reading (only if p.columns is given). Default to 0.05 |
p.cmd |
character string. The latex command used to highlight p values. Default to "bfseries" for boldface. |
cellTexCmds |
see Hmisc::latex. Default to NULL. |
sanitize |
function to sanitize row- and colnames. Default is the identical function where nothing will be replaced. |
... |
further arguments to Hmisc::latex |
data |
frame or matrix to be printed |
returns (invisible) a list of class latex
, see Hmisc latex
for details
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.