rnb.add.table {RnBeads} | R Documentation |
Generates HTML code for a table in the specified report.
rnb.add.table(report, tdata, row.names = TRUE, first.col.header = FALSE, indent = 0, tag.attrs = c(class = "tabdata"), thead = NULL, tcaption = NULL, na = "<span class=\"disabled\">n/a</span>")
report |
Report to write the text to. |
tdata |
Matrix or data frame to be presented in HTML form. Column names, if present, are used to define table columns. If this table contains 0 (zero) rows or 0 columns, calling this function has no effect. |
row.names |
Flag indicating if row names should also be printed. If this parameter is |
first.col.header |
Flag indicating if all cells in the first column must be displayed as header cells. Note
that, if both this parameter and |
indent |
Default indentation, in number of tabulation characters, to apply to HTML tags. This
indentation is also applied to |
tag.attrs |
Named |
thead |
|
tcaption |
Text to include as a caption below the table, or |
na |
|
The modified report, invisibly.
Yassen Assenov
rnb.add.tables
for adding a listing of tables; Report
for other functions
adding contents to an HTML report