This function returns a character string, which represents a HTML table.
The table is build from a given data.frame.
df |
data.frame object that should be transfered into a HTML table |
headline |
Optional character string. If given, the function writes a
headline (h3) above the table |
hc |
Character string denoting background color for table head |
bgc1 |
Character string denoting 1st background color for a table row |
bgc2 |
Character string denoting 2nd background color for a table row |
tbh |
Vector of character strings denoting the column titles |
spc |
spacing petween cells in points (cellpadding) |
align |
vector of strings (LEFT, CENTER, RIGHT), one per colum. If align
is left to the default (NULL) all columns are aligned left. |
valign |
is either 'top', 'middle', or 'bottom' and indicates how cells in the
same row are aligned. |
anchors |
adds one anchor per row, which can be used through HTML links. |
stripes |
specifies whether the two background colors form 'vertical' or
'horizontal' stripes. |
M. Held