The toReportDF
generic and its methods are used to transform
objects into a basic tabular (data.frame) form as part of the two step
process of preparing to insert them into a report. This function (and
functions passed to the .toDF
argument used to override it) will
only be called during the default ("ANY") objectToHTML
method. Non-default objectToHTML
methods are expected to perform
the entire process of creating HTML code from an R object.
The default toReportDF
method is equivalent to calling as.data.frame
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.