Construct footnotes
HTMLfootnotes.Rd
This function constructs HTML code for footnotes to insert at the bottom of the table.
Value
A character string containing HTML code for the
footnotes. Use this in table_options(HTMLfooter = ...)
Examples
tab <- tabular( (Species + 1) ~ (n=1) + Format(digits=2)*
(Sepal.Length + Sepal.Width)*(mean + sd), data=iris )
footnote <- HTMLfootnotes(tab,
"This is a footnote with no marker.",
"*" = "This is a footnote with an asterisk.")
if (interactive())
toHTML(tab, options = list(doFooter = TRUE,
HTMLfooter = footnote))