Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (0.6.12) of this package.
Take me there.
rtables
[![Check
Copy Link
Link to current version
Version
Version
0.6.12
0.6.11
0.6.10
0.6.9
0.6.8
0.6.7
0.6.6
0.6.3
0.6.1
0.6.0
0.5.1
0.5.0
0.4.0
0.3.8
0.3.6
Install
install.packages('rtables')
Monthly Downloads
3,547
Version
0.6.0
License
Apache License 2.0 | file LICENSE
Issues
69
Pull Requests
0
Stars
239
Forks
51
Repository
https://github.com/insightsengineering/rtables
Homepage
https://insightsengineering.github.io/rtables/
Maintainer
Gabriel Becker
Last Published
April 11th, 2025
Functions in rtables (0.6.0)
Search all functions
analyze_colvars
Generate Rows Analyzing Different Variables Across Columns
add_overall_level
Add an virtual 'overall' level to split
basic_table
Layout with 1 column and zero rows
as_html
Convert an
rtable
object to a
shiny.tag
html object
asvec
convert to a vector
AnalyzeVarSplit
Define a subset tabulation/analysis
add_overall_col
Add Overall Column
append_topleft
Append a description to the 'top-left' materials for the layout
analyze
Generate Rows Analyzing Variables Across Columns
[<-,VTableTree,ANY,ANY,list-method
Retrieve and assign elements of a
TableTree
clear_indent_mods
Clear All Indent Mods from a Table
clayout
Column information/structure accessors
InstantiatedColumnInfo-class
InstantiatedColumnInfo
cbind_rtables
cbind two rtables
compat_args
Compatibility Arg Conventions
compare_rtables
Compare two rtables
constr_args
Constructor Arg Conventions
cell_values
Retrieve cell values by row and column path
collect_leaves
Collect leaves of a table tree
build_table
Create a table from a layout and data
export_as_pdf
Export as PDF
nrow,VTableTree-method
Table Dimensions
VarStaticCutSplit-class
Splits for cutting by values of a numeric variable
custom_split_funs
Custom Split Functions
do_base_split
Apply Basic Split (For Use In Custom Split Functions)
export_as_rtf
Export table to RTF
drop_facet_levels
Preprocessing Functions for use in make_split_fun
counts_wpcts
Analysis function to count levels of a factor with percentage of the column total
df_to_tt
Create ElementaryTable from data.frame
content_table
Retrieve or set Content Table from a TableTree
horizontal_sep
Access or recursively set header-body separator for tables
head
Head and tail methods
get_formatted_cells
get formatted cells
in_rows
Create multiple rows in analysis or summary functions
export_as_txt
Export as plain text with page break symbol
format_rcell
Format rcell
gen_args
General Argument Conventions
obj_name,VNodeInfo-method
Methods for generics in the formatters package
indent
Change indentation of all rrows in an rtable
indent_string
Indent Strings
length,CellValue-method
Length of a Cell value
label_at_path
Label at Path
list_wrap_x
Returns a function that coerces the return values of f to a list
lyt_args
Layouting Function Arg Conventions
is_rtable
Check if an object is a valid rtable
internal_methods
combine SplitVector objects
make_afun
Create custom analysis function wrapping existing function
make_col_df
Column Layout Summary
path_enriched_df
Transform TableTree object to Path-Enriched data.frame
prune_table
Recursively prune a TableTree
insert_rrow
[DEPRECATED] insert rrows at (before) a specific location
row_paths
Return List with Table Row/Col Paths
insert_row_at_path
Insert Row at Path
make_split_fun
Create a Custom Splitting Function
names,VTableNodeInfo-method
Names of a TableTree
matrix_form,VTableTree-method
Transform rtable to a list of matrices which can be used for outputting
make_split_result
Construct split result object
manual_cols
Manual column declaration
LabelRow
Row classes and constructors
pag_tt_indices
Pagination of a TableTree
no_colinfo
Exported for use in tern
rtable
Create a Table
rrowl
rrowl
obj_avar
Row attribute accessors
row_paths_summary
Print Row/Col Paths Summary
rcell
Cell value constructors
rbindl_rtables
rbind TableTree and related objects
split_cols_by
Declaring a column-split based on levels of a variable
rrow
row
spl_variable
Variable Associated With a Split
split_cols_by_multivar
Associate Multiple Variables with Columns
spl_context_to_disp_path
Translate spl_context to Path for display in error messages
spl_context
.spl_context within analysis and split functions
sort_at_path
Sort substructure of a TableTree at a particular Path in the Tree.
row_footnotes
Referential Footnote Accessors
rheader
Create a header
simple_analysis
Default tabulation
rtables_aligns
Alignment utils
summarize_row_groups
Add a content row of summary counts
summarize_rows
summarize_rows
sf_args
Split Function Arg Conventions
cont_n_allcols
Score functions for sorting TableTrees
trim_levels_in_facets
Trim Levels of Another Variable From Each Facet (Postprocessing split step)
tt_to_flextable
Create a FlexTable object representing an rtables TableTree
all_zero_or_na
Trimming and Pruning Criteria
tree_children
Retrieve or set the direct children of a Tree-style object
tt_at_path
Get or set table elements at specified path
tostring
Convert an
rtable
object to a string
trim_levels_to_map
Trim Levels to map
table_shell
Table shells
value_formats
Value Formats
ElementaryTable-class
TableTree classes
split_funcs
Split functions
update_ref_indexing
Update footnote indexes on a built table
trim_rows
Trim rows from a populated table without regard for table structure
split_rows_by
Add Rows according to levels of a variable
table_structure
Summarize Table
split_cols_by_cuts
Split on static or dynamic cuts of the data
export_as_tsv
Create Enriched flat value table with paths
trim_zero_rows
Trim Zero Rows
top_left
Top Left Material (Experimental)
vpaginate_table
Deprecated - vertically paginate table
vars_in_layout
List Variables required by a pre-data table layout
ManualSplit
Manually defined split
CellValue
Cell Value constructor
add_colcounts
Add the column population counts to the header
MultiVarSplit
Split between two or more different variables
select_all_levels
Add Combination Levels to split
add_existing_table
Add an already calculated table to the layout
add_combo_facet
Add a combination facet in postprocessing
VarLevelSplit-class
Split on levels within a variable
EmptyColInfo
Empty table, column, split objects
Viewer
Display an
rtable
object in the Viewer pane in RStudio or in a browser