# A Grammar of Clinical Summary Tables

## Documentation for package ‘tplyr2’ version 0.2.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

apply_conditional_format | Conditional reformatting of a pre-populated string of numbers
apply_formats | Apply format strings to numeric values
apply_row_masks | Apply row masks to blank repeated row labels
assoc_test | Association-test column(s) for count, shift, and desc layers
as_display | Extract a display-ready frame from a build result
collapse_row_labels | Collapse row labels into a single column
custom_group | Create a custom column group configuration
f_str | Create a format string object
generate_row_ids | Generate unique row IDs for output rows
get_data_labels | Extract variable labels from a data.frame
group_analyze | Create a custom analysis layer
group_count | Create a count layer
group_desc | Create a descriptive statistics layer
group_shift | Create a shift layer
is_pop_data | Check if an object is a tplyr_pop_data
is_tplyr_layer | Check if an object is a tplyr_layer
is_tplyr_spec | Check if an object is a tplyr_spec
label | Create a text label for use in by parameters
layer_settings | Create layer settings
pop_data | Create a population data configuration
proportion_ci | Confidence interval for a single binomial proportion
replace_leading_whitespace | Replace leading whitespace with a specified string
str_extract_num | Extract numeric values from formatted strings
str_indent_wrap | Wrap strings to a specific width with hyphenation while preserving indentation
total_group | Create a total group configuration
tplyr2_options | Get or set tplyr2 package options
tplyr_adae | Adverse events analysis dataset
tplyr_adlb | Laboratory data analysis dataset
tplyr_adsl | Subject-level analysis dataset
tplyr_build | Build a tplyr2 table from a spec and data
tplyr_from_ard | Reconstruct a formatted table from ARD and a spec
tplyr_header_n | Extract header N from a tplyr2 build result
tplyr_layers | Create a list of layers
tplyr_meta | Metadata object for a tplyr output cell
tplyr_meta_result | Get metadata for a specific output cell
tplyr_meta_subset | Get source data rows for a specific output cell
tplyr_numeric_data | Retrieve raw numeric data from a tplyr_build result
tplyr_read_spec | Read a tplyr_spec from JSON or YAML
tplyr_spec | Create a tplyr2 table specification
tplyr_stats_data | Retrieve raw statistic values from a tplyr_build result
tplyr_to_ard | Convert tplyr_build output to Analysis Results Data (ARD) format
tplyr_write_spec | Write a tplyr_spec to JSON or YAML