Learn R Programming

chevron: Standard TLGs for clinical trials reporting

[![Check

Copy Link

Version

Install

install.packages('chevron')

Monthly Downloads

265

Version

0.2.10

License

Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Joe Zhu

Last Published

February 20th, 2025

Functions in chevron (0.2.10)

afun_skip

Analyze skip baseline
aet04_main

AET04 Table 1 (Default) Adverse Events by Highest NCI CTACAE AE Grade Table 1.
aet05_main

AET05 Table 1 (Default) Adverse Event Rate Adjusted for Patient-Years at Risk - First Occurrence.
aet05_lyt

aet05 Layout
aet04_lyt

aet04 Layout
aet10_lyt

aet10 Layout
aet05_all_pre

AET05_ALL Table 1 (Default) Adverse Event Rate Adjusted for Patient-Years at Risk - All Occurrences.
aet10_main

AET10 Table 1 (Default) Most Common (xx%) Adverse Events Preferred Terms Table 1.
afun_p

Analyze with defined precision
args_ls

Get Arguments List
assert_single_value

Check variable only has one unique value.
assert_valid_variable

Check variables in a data frame are valid character or factor.
check_one_colnames

Check that at least one name is among column names
assert_valid_var_pair

Check variables are of same levels
assert_valid_var

Check whether var is valid
assert_valid_type

Check variable is of correct type
chevron_tlg-class

chevron_t
chevron-package

chevron package
cml02a_gl_main

CML02A_GL Listing 1 (Default) Concomitant Medication Class Level 2, Preferred Name, and Investigator-Specified Terms.
cmt01_label

CMT01A Concomitant Medication by Medication Class and Preferred Name.
cmt02_pt_main

CMT02_PT Table 1 (Default) Concomitant Medications by Preferred Name.
count_or_summarize

Count or summarize by groups
create_id_listings

Concatenate Site and Subject ID
coxt01_lyt

COXT01 Layout
coxt02_main

COXT02 Multi-Variable Cox Regression Model Table.
coxt01_main

COXT01 (Default) Cox Regression Model Table.
dose_change_rule

Dose Change Rule
count_patients_recursive

Count patients recursively
cfbt01_main

CFBT01 Change from Baseline By Visit Table.
convert_to_month

Helper function to convert to months if needed
check_all_colnames

Check that all names are among column names
do_call

Execute a function call
dmt01_lyt

dmt01 Layout
cfbt01_lyt

cfbt01 Layout
ctcv4_dir

CTC version 4 Grade Direction Data
ctcv5_dir

CTC version 5 Grade Direction Data
dst01_main

DST01 Table 1 (Default) Patient Disposition Table 1.
count_children

Count Children
dtht01_main

DTHT01 Table 1 (Default) Death Table.
dst01_lyt

dst01 Layout
egt02_2_main

EGT02_2 ECG Abnormalities Table.
deparse_print

Deparse print
egt05_qtcat_lyt

EGT05_QTCAT Layout
egt05_qtcat_main

EGT05_QTCAT ECG Actual Values and Changes from Baseline by Visit Table.
egt02_lyt

egt02 Layout
empty_rule

Empty rule
fstg01_main

FSTG01 Subgroup Analysis of Best Overall Response.
egt01_main

EGT01 ECG Parameters and Change from Baseline By Visit Table.
egt02_1_main

EGT02 ECG Abnormalities Table.
expand_list

Expand list to each split
format_date

Formatting of date
fuse_sequentially

Fuse list elements
egt03_lyt

egt03 Layout
egt03_main

EGT03 Shift Table of ECG Interval Data - Baseline versus Minimum or Maximum Post-Baseline.
ext01_lyt

ext01 Layout
dmt01_main

DMT01 Table 1 (Default) Demographics and Baseline Characteristics Table 1.
dummy_template

Dummy template.
dtht01_lyt

dtht01 Layout
execute_with_args

Execute function with given arguments
gen_args

General Argument Name Convention
fstg02_main

FSTG02 Subgroup Analysis of Survival Duration.
gg_list

List of gg object
gg_theme_chevron

Theme for Chevron Plot
grob_list

List of grob object
h_format_dec

Decimal formatting
get_x_hjust

Get a harmonious value of horizontal justification for x axis
get_x_vjust

Get a harmonious value of vertical justification for x axis
get_grade_rule

Get grade rule
listing_format_chevron

Format for Chevron Listings
lvls

Obtain levels from vector
get_page_by

Get page by value
lbt04_lyt

lbt04 Layout
lbt05_main

LBT05 Table 1 (Default) Laboratory Abnormalities with Single and Replicated Marked.
h_unwrap_layout

Helper Function Extracting Layout Functions
mng01_main

MNG01 Mean Plot Graph.
modify_character

Modify character
ifneeded_split_row

Helper function to add a row split if specified
kmg01_main

KMG01 Kaplan-Meier Plot 1.
get_section_div

Get Section dividers
ext01_main

EXT01 Exposure Summary Table.
lbt06_lyt

lbt06 Layout
ifneeded_split_col

Helper function to add a column split if specified
lbt07_lyt

lbt07 Layout
print_list

Print list
print_args

Print Arguments
lbt05_lyt

lbt05 Layout
lbt07_main

LBT07 Table 1 (Default) Laboratory Test Results and Change from Baseline by Visit.
nocoding

No Coding Available rule
obtain_value

Obtain value from a vector
lbt06_main

LBT06 Table 1 (Default) Laboratory Abnormalities by Visit and Baseline Status Table 1.
pdt02_main

pdt02 Major Protocol Deviations Related to Epidemic/Pandemic Table.
rmpt06_lyt

rmpt06 Layout
rmpt06_main

RMPT06 Table 1 (Default) Seriousness, Outcomes, Severity, Frequency with 95% CI for Risk Management Plan.
occurrence_lyt

Occurrence Layout
get_subset

Subset Arguments and Merge
proportion_lyt

Proportion layout
rmpt01_lyt

rmpt01 Layout
outcome_rule

Outcome Rule
lbt14_main

LBT14 Laboratory Test Results Shift Table – Highest NCI-CTCAE Grade Post-Baseline by Baseline Grade (Low or High Direction).
rmpt03_main

rmpt03Duration of Exposure for Risk Management Plan Table.
missing_rule

Missing rule
mla_dir

MLA Grade Direction Data
lbt01_main

LBT01 Lab Results and Change from Baseline by Visit Table.
lbt04_main

LBT04 Laboratory Abnormalities Not Present at Baseline Table.
lbt15_pre

LBT15 Laboratory Test Shifts to NCI-CTCAE Grade 3-4 Post-Baseline Table.
lbt14_lyt

lbt14 Layout
reexports

Objects exported from other packages
pdt02_lyt

pdt02 Layout
script

Create Script for TLG Generation
preprocess

Pre process
postprocess

Post process
unwrap_layout

Extracting Layout Function.
var_labels_for

Retrieve labels for certain variables
main

Main
run

Run the TLG-generating pipeline
rmpt05_main

RMPT05 Extent of Exposure by Race for Risk Management Plan Table.
rspt01_main

RSPT01 Binary Outcomes Summary.
rmpt04_main

RMPT04Extent of Exposure by Ethnic Origin for Risk Management Plan Table.
set_section_div

Set Section Dividers
rspt01_lyt

rspt01 Layout
mht01_label

MHT01 Medical History Table.
vst02_2_main

VST02 Vital Sign Abnormalities Table.
report_null

Creates NULL Report
pdt01_lyt

pdt01 Layout
pdt01_main

pdt01 Major Protocol Deviations Table.
vst02_lyt

vst02_1 Layout
syn_data

Example adam Synthetic Data
summarize_vars_allow_na

Summarize variables allow NA
ttet01_main

TTET01 Binary Outcomes Summary.
smart_prune

Prune table up to an ElementaryTable
std_postprocessing

Standard Post Processing
split_rows_by_recursive

Count or summarize by groups
rmpt01_main

RMPT01Duration of Exposure for Risk Management Plan Table.
yes_no_rule

Yes/No rule in title case
std_listing

Standard Main Listing Function
ttet01_lyt

ttet01 Layout
vst01_main

VST01 Vital Sign Results and change from Baseline By Visit Table.
vst02_1_main

VST02 Vital Sign Abnormalities Table.
s_summary_na

Summary factor allowing NA
ael02_main

AEL02 Listing 1 (Default) Listing of Adverse Events.
aet03_lyt

aet03 Layout
ael01_nollt_main

AEL01_NOLLT Listing 1 (Default) Glossary of Preferred Terms and Investigator-Specified Terms.
aet01_main

AET01 Table 1 (Default) Overview of Deaths and Adverse Events Summary Table 1.
ael03_main

AEL03 Listing 1 (Default) Listing of Serious Adverse Events.
aet02_label

AET02 Table 1 (Default) Adverse Events by System Organ Class and Preferred Term Table 1.
aet01_lyt

aet01 Layout
aet01_aesi_lyt

aet01_aesi Layout
aet03_main

AET03 Table 1 (Default) Advert Events by Greatest Intensity Table 1.
aet01_aesi_main

AET01_AESI Table 1 (Default) Adverse Event of Special Interest Summary Table.