Description Usage Arguments Note
Print a table as a figure using grid graphics.
1 2 3 4 |
data |
matrix or data frame |
plotters |
list of plotters to use (will be recycled if length is shorter than 'ncol(data)'). Each element is either a name of a pre-defined plot function, or a list with 'fn' set to the plotter function name and additional elements being arguments that will be passed to the plotting function. |
col.widths |
vector of column widths |
table.border |
logical; whether to draw a border around the table. |
table.border.gpar |
list of graphical parameters to use when drawing borders. |
cell.mar |
size of margin around values in table cells. |
cell.border |
logical; whether to draw borders around cells. |
cell.border.gpar |
list of graphical parameters to use when drawing cell borders. |
header.gpar |
list of graphical parameters to use when drawing column headers. |
default.gpar |
list of default graphical parameters to use when drawing cell values. |
If you are using knitr, it is much better to use pander to format tables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.