toReportDF-methods {ReportingTools} | R Documentation

## Class Specific Default Behavior for Transforming Objects to data.frames

### Description

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.

### Note

The default `toReportDF` method is equivalent to calling `as.data.frame`.

### See Also

`modifyReportDF`

[Package ReportingTools version 2.22.1 Index]