View source: R/display_as_table.R
display_as_table | R Documentation |
Create an HTML table
display_as_table(x, digits = NULL, ...)
x |
a data.frame, 2D matrix, table, etc. to be displayed as an HTML table |
digits |
number of digits to display for numeric columns; default is all digits |
... |
passed to |
d <- data.frame(a=1:3, b=runif(3))
display_as_table(d)
display_as_table(d, digits=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.