Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (0.5.12) of this package.
Take me there.
formatters
[![Check
Copy Link
Link to current version
Version
Version
0.5.12
0.5.11
0.5.10
0.5.9
0.5.8
0.5.6
0.5.5
0.5.2
0.5.0
0.4.1
0.4.0
0.3.2
0.3.1
0.2.0
Install
install.packages('formatters')
Monthly Downloads
3,574
Version
0.5.0
License
Apache License 2.0
Issues
27
Pull Requests
0
Stars
19
Forks
7
Repository
https://github.com/insightsengineering/formatters
Maintainer
Gabriel Becker
Last Published
December 8th, 2025
Functions in formatters (0.5.0)
Search all functions
matrix_form
Transform rtable to a list of matrices which can be used for outputting
mpf_to_rtf
Transform MPF to RTF
page_types
Supported Named Page TypesList supported named page types
page_lcpp
Determine lines per page (LPP) and characters per page (CPP) based on font and page type
num_rep_cols
Number of repeated columns
list_valid_format_labels
List with currently support 'xx' style format labels grouped by 1d, 2d and 3d
padstr
Pad a string and align within string
make_row_df
Make row and column layout summary data.frames for use during pagination
paginate_indices
Paginate a table-like object for rendering
pagination_algo
Pagination
pag_indices_inner
Find Pagination Indices From Pagination Info Dataframe
pagdfrow
Create row of pagination data frame
spread_integer
spread x into len elements
sprintf_format
Specify text format via a sprintf format string
nlines
Number of lines required to print a value
propose_column_widths
Propose Column Widths based on an object's
MatrixPrintForm
form
var_labels<-
Set Label Attributes of All Variables in a
data.frame
toString
toString
mf_strings
Setters and Getters for aspects of MatrixPrintForm Objects
var_relabel
Copy and Change Variable Labels of a
data.frame
main_title
General title/footer accessors
table_inset
Access or (recursively) set table inset.
spans_to_viscell
Transform vectors of spans (with duplication) to Visibility vector
round_fmt
Round and prepare a value for display
ref_df_row
Create a row for a referential footnote information dataframe
with_label
Return an object with a label attribute
wrap_string
Wrap a string to within a maximum width
var_labels_remove
Remove Variable Labels of a
data.frame
var_labels
Get Label Attributes of Variables in a
data.frame
vert_pag_indices
Find Column Indices for Vertical Pagination
basic_matrix_form
Create spoof matrix form from a data.frame
MatrixPrintForm
Matrix Print Form - Intermediate Representation for ASCII Table Printing
DM
DM data
ex_adsl
Simulated CDISC Alike Data for Examples
print,ANY-method
Print
divider_height
Divider Height
MatrixPrintForm-class
Matrix Print Form - Intermediate Representation for ASCII Table Printing
default_hsep
Default horizontal Separator
do_forced_paginate
Generic for Performing "Forced Pagination"
basic_pagdf
Basic/spoof pagination info dataframe
font_lcpi
Calculate lines per inch and characters per inch for font
format_value
Converts a (possibly compound) value into a string using the
format
information
export_as_txt
Export a table-like object to plain (ASCII) text with page break
export_as_rtf
Export table to RTF
ifnotlen0
%||%
If length-0 alternative operator
is.wholenumber
is.wholenumber
is_valid_format
Check if a format is supported
lab_name
Label, Name and Format accessor generics