Tplyr1.2.1 package

A Traceability Focused Grammar of Clinical Data Summary

add_anti_join

Add an anti-join onto a tplyr_meta object

add_column_headers

Attach column headers to a Tplyr output

add_missing_subjects_row

Add a missing subject row into a count summary.

add_risk_diff

Add risk difference to a count layer

add_total_row

Add a Total row into a count summary.

append_metadata

Append the Tplyr table metadata dataframe

apply_conditional_format

Conditional reformatting of a pre-populated string of numbers

apply_formats

Apply Format Strings outside of a Tplyr table

apply_row_masks

Replace repeating row label variables with blanks in preparation for d...

build

Trigger the execution of the tplyr_table

by

Set or return by layer binding

collapse_row_labels

Collapse row labels into a single column

f_str

Create a f_str object

get_data_labels

Get Data Labels

get_meta_result

Extract the result metadata of a Tplyr table

get_meta_subset

Extract the subset of data based on result metadata

get_metadata

Get the metadata dataframe from a tplyr_table

get_numeric_data

Retrieve the numeric data from a tplyr objects

get_stats_data

Get statistics data

get_tplyr_regex

Retrieve one of Tplyr's regular expressions

header_n

Return or set header_n binding

keep_levels

Select levels to keep in a count layer

layer_attachment

Attach a layer to a tplyr_table object

layer_constructors

Create a count, desc, or shift layer for discrete count based su...

layer_templates

Create, view, extract, remove, and use Tplyr layer templates

metadata_additions

Add variables to a tplyr_meta object

ordering

Set the ordering logic for the count layer

pipe

Pipe operator

pop_data

Return or set population data bindings

pop_treat_var

Return or set pop_treat_var binding

precision_by

Set or return precision_by layer binding

precision_on

Set or return precision_on layer binding

process_formatting

Process layers to get formatted and pivoted tables.

process_metadata

Process layers to get metadata tables

process_statistic_data

Process a tplyr_statistic object

process_statistic_formatting

Process string formatting on a tplyr_statistic object

process_summaries

Process layers to get numeric results of layer

replace_leading_whitespace

Reformat strings with leading whitespace for HTML

set_custom_summaries

Set custom summaries to be performed within a descriptive statistics l...

set_denom_ignore

Set values the denominator calculation will ignore

set_denom_where

Set Logic for denominator subsetting

set_denoms_by

Set variables used in pct denominator calculation

set_distinct_by

Set counts to be distinct by some grouping variable.

set_format_strings

Set the format strings and associated summaries to be performed in a l...

set_indentation

Set the option to prefix the row_labels in the inner count_layer

set_limit_data_by

Set variables to limit reported data values only to those that exist r...

set_missing_count

Set the display for missing strings

set_missing_subjects_row_label

Set the label for the missing subjects row

set_nest_count

Set the option to nest count layers

set_numeric_threshold

Set a numeric cutoff

set_outer_sort_position

Set the value of a outer nested count layer to Inf or -Inf

set_precision_data

Set precision data

set_stats_as_columns

Set descriptive statistics as columns

set_total_row_label

Set the label for the total row

str_extractors

Extract format group strings or numbers

str_indent_wrap

Wrap strings to a specific width with hyphenation while preserving ind...

table_format_defaults

Get or set the default format strings for descriptive statistics layer...

target_var

Set or return treat_var binding

Tplyr

A grammar of summary data for clinical reports

tplyr_layer

Create a tplyr_layer object

tplyr_meta

Tplyr Metadata Object

tplyr_table

Create a Tplyr table object

treat_grps

Combine existing treatment groups for summary

treat_var

Return or set the treatment variable binding

where

Set or return where binding for layer or table

A traceability focused tool created to simplify the data manipulation necessary to create clinical summaries.

  • Maintainer: Mike Stackhouse
  • License: MIT + file LICENSE
  • Last published: 2024-02-20