The rptr package creates statistical reports in text file format. Will soon support RTF, PDF, and DOCX format.
The rptr package creates regulatory-style, statistical reports. It was designed for use in the pharmaceutical, biotechnology, and medical-device industries. However, the functions are generalized enough to provide statistical reporting for any industry. The package is written in Base R, and has no dependencies on any other reporting package.
The package is intended to give R programmers report layout capabilities such as those found in SAS® PROC REPORT, and a choice of output formats like SAS® ODS. The package will initially focus on printable, file-based output formats, as there are already numerous R packages that provide tabular reporting in HTML. The current version supports TEXT output. Future releases will incorporate RTF, DOCX, and PDF file formats.
The rptr package contains the following key features:
Titles, footnotes, page header, and page footer are repeated on each page
Supports header labels and spanning headers
Calculates default columns widths automatically
Includes automatic wrapping and splitting of wide and long tables
Integrates with the fmtr package to format numeric, date, and character data
Allows appending multiple tables to a report, multiple tables to a page, and intermingling of text and tables
Supports in-report date/time stamps and "Page X of Y" page numbering
create_report to define a report
create_table to define a table
create_text to define text content
write_report to write out the report
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.