Prints a data frame as a (La)TeX tabular.
1 2 |
df |
Data frame |
file |
File to write the table into |
col.names |
Should column names be printed? |
row.names |
Should row names be printed? |
header |
Optional tabular header. If not specified, a default header of the form |
before |
Optional vector of lines to write after header and (possible) column names but before data. Mostly useful to add custom column names, or an |
after |
Optional vector of lines to write before |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.