ASCII Formatting for Values and Tables
Basic/spoof pagination info data frame
Simulated CDISC-like data for examples
Check if a format or alignment is supported
Decimal alignment
Default horizontal separator
Default page number format
Divider height
Generic for performing "forced" pagination
Export as PDF
Export as RTF
Export a table-like object to plain (ASCII) text with page breaks
Format configuration
Calculate lines per inch and characters per inch for font
Font size specification
Converts a (possibly compound) value into a string using the format
...
formatters Package
%||%
(if length-0) alternative operator
Check if a value is a whole number
Label, name, and format accessor generics
List of currently supported formats and vertical alignments
Make row layout summary data frames for use during pagination
Transform rtable
to a list of matrices which can be used for outputt...
Class for Matrix Print Form
Constructor for Matrix Print Form
Getters and setters for aspects of MatrixPrintForm
objects
Transform MatrixPrintForm
to RTF
Calculate font-specific string width
Number of lines required to print a value
Number of repeated columns
Activate font state
Pad a string and align within string
Find pagination indices from pagination info data frame
Create a row of a pagination data frame
Determine lines per page (LPP) and characters per page (CPP) based on ...
Supported named page types
Paginate a table-like object for rendering
Pagination
Propose column widths based on the MatrixPrintForm
of an object
Create a row for a referential footnote information data frame
Round and prepare a value for display
Transform a vector of spans (with duplication) into a visibility vecto...
Spread an integer to a given length
Specify text format via a sprintf
format string
Access or (recursively) set table inset
Create spoof matrix form from a data frame
General title and footer accessors
Transform objects into string representations
Remove variable labels of a data.frame
Set label attributes of all variables in a data.frame
Get label attributes of variables in a data.frame
Copy and change variable labels of a data.frame
Find column indices for vertical pagination
Return an object with a label attribute
wrap string given a Truetype font
Wrap a string to a precise width
We provide a framework for rendering complex tables to ASCII, and a set of formatters for transforming values or sets of values into ASCII-ready display strings.
Useful links