function for making html table
1 2 3 |
x |
data.frame or matrix to be transformed |
file |
whether or not to write resulting HTML to file |
standalone |
should HTML head and foot be added to make HTML standalone |
names |
might be TRUE, FALSE or a character vector giving the names of the columns |
head |
should user defined HTML head be used (everything before the table) |
foot |
should user defined HTML foot be used (everything after the table) |
color |
a vector of colors of length 1 or of length equal to number of rows of the table that will be used to set linewise text color |
bgcolor |
same as color but for linewise backgrounf color |
html |
some html / Javascript or whatever put in front of the table |
browse |
bolean, weather or not to have a look at the table in Browser |
width |
vector of length equal to number of columns; allows to specify html width arguments |
digits |
number of digits to round numbers to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.