Description Usage Arguments Examples
Print data fram (table) as Latex format to either file or console,
which is extened from xtable
.
1 2 3 |
df |
A data frame. |
file |
If NULL, then print the results to console, otherwise print them to the file. Default to NULL. |
caption |
Latex table caption. |
label |
Latex table label. |
invalid.char |
If it is TRUE, then add \ to all _ or % for Latex. Default to TRUE. |
include.rownames, caption.placement |
Refer to |
... |
Other arguments passed to |
1 2 3 | tableFile <- file.path(workingPath, "report.tex")
printXTable(data.frame, caption = "Phylogenetic beta diversity",
label = "tab:pd:beta", file=tableFile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.