Skip to contents

junco Analysis Functions

The following functions are the Analysis functions used used to create common table layouts.

s_ancova_j()
Junco Extended ANCOVA Function
a_summarize_ancova_j() s_summarize_ancova_j()
ANCOVA Summary Function
column_stats()
Statistics within the column space
a_freq_combos_j()
Analysis function count and percentage in column design controlled by combosdf
s_summarize_ex_j() a_summarize_ex_j()
Tabulation for Exposure Tables
s_freq_j() a_freq_j()
Analysis/statistical function for count and percentage in core columns + (optional) relative risk columns
a_freq_subcol_j()
Analysis function count and percentage with extra column-subsetting in selected columns (controlled by subcol_* arguments)
a_proportion_ci_factor()
Formatted Analysis Function For Proportion Confidence Interval for Factor
a_proportion_ci_logical()
Formatted Analysis Function For Proportion Confidence Interval for Logical
a_summarize_aval_chg_diff_j()
Analysis function 3-column presentation
rbmi_analyse()
Analyse Multiple Imputed Datasets
analyze_values()
Shortcut Layout Function for Standard Continuous Variable Analysis
rbmi_ancova()
Analysis of Covariance
rbmi_ancova_single()
Implements an Analysis of Covariance (ANCOVA)
build_formula()
Building Model Formula
c_proportion_logical()
c_function for proportion of `TRUE` in logical vector
cmp_cfun()
Summary Analysis Function for Compliance Columns (TEFSCNCMP01 e.g.)
cmp_post_fun() cmp_split_fun()
Split Function for Compliance Columns (TEFSCNCMP01 e.g.)
jjcsformat_count_fraction()
Formatting count and fraction values
find_missing_chg_after_avisit()
Helper for Finding AVISIT after which CHG are all Missing
fit_ancova()
`ANCOVA` Analysis
fit_mmrm_j()
`MMRM` Analysis
a_coxph_hr() s_coxph_hr()
Workaround statistics function to add HR with CI
d_test_proportion_diff()
Description of the difference test between two proportions
h_tidy_pool() s_rbmi_lsmeans() a_rbmi_lsmeans()
Tabulation of RBMI Results
tidy(<tern_model>) s_lsmeans() a_lsmeans()
Tabulation of Least Square Means Results
h_colexpr_substr()
Extract Substring from Column Expression
or_glm() or_clogit() or_cmh()
Helper functions for odds ratio estimation
make_rbmi_cluster()
Create a `rbmi` ready cluster
rbmi_mmrm()
MMRM Analysis for Imputed Datasets
a_event_free() s_event_free()
Workaround statistics function to time point survival estimate with CI
a_odds_ratio_j() s_odds_ratio_j()
Odds ratio estimation
par_lapply()
Parallelise Lapply
a_proportion_diff_j() s_proportion_diff_j()
Proportion difference estimation
prop_post_fun() prop_split_fun()
Split Function for Proportion Analysis Columns (TEFCGIS08 e.g.)
prop_ratio_cmh()
Relative Risk CMH Statistic
prop_table_afun()
Formatted Analysis Function for Proportion Analysis (TEFCGIS08 e.g.)
a_relative_risk() s_relative_risk()
Relative risk estimation
resp01_a_comp_stat_factor()
Formatted Analysis Function for Comparative Statistic in Response Tables (RESP01)
resp01_a_comp_stat_logical()
Formatted Analysis Function for Comparative Statistic in Response Tables (RESP01)
resp01_acfun()
Formatted Analysis and Content Summary Function for Response Tables (RESP01)
resp01_counts_cfun()
Content Row Function for Counts of Subgroups in Response Tables (RESP01)
resp01_split_fun_fct()
Split Function Factory for the Response Tables (RESP01)
response_by_var()
Count denom fraction statistic
s_proportion_factor()
s_function for proportion of factor levels
summarize_row_counts()
Layout Creating Function Adding Row Counts
s_proportion_logical()
s_function for proportion of `TRUE` in logical vector
summarize_coxreg_multivar()
Layout Generating Function for TEFOS03 and Related Cox Regression Layouts
summarize_lsmeans_wide()
Layout Generating Function for LS Means Wide Table Layouts
s_summarize_mmrm() a_summarize_mmrm()
Dynamic tabulation of MMRM results with tables
h_a_freq_dataprep()
A Frequency Data Preparation Function
h_a_freq_prepinrows()
Frequency Preparation in Rows
h_create_altdf()
Create Alternative Data Frame
h_denom_parentdf()
Get Denominator Parent Data Frame
h_df_add_newlevels()
Add New Levels to Data Frame
h_get_label_map()
Get Label Map
h_get_trtvar_refpath()
Get Treatment Variable Reference Path
h_subset_combo()
Subset Combination
h_upd_dfrow()
Update Data Frame Row
h_update_factor()
Update Factor
rbmi_mmrm_single_info()
Extract Single Visit Information from a Fitted MMRM for Multiple Imputation Analysis

junco Formatting Functions

The following functions are the junco formatting functions used to create common table layouts.

jj_uc_map
Unicode Mapping Table
jjcsformat_xx()
Formatting of values
jjcs_num_formats()
Numeric Formatting Function
jjcsformat_count_denom_fraction()
Formatting count, denominator and fraction values
format_xx_fct()
Function factory for xx style formatting
jjcsformat_fraction_count_denom()
Formatting fraction, count and denominator values
jjcsformat_pval_fct()
Function factory for p-value formatting
jjcsformat_range_fct()
Function factory for range with censoring information formatting
insert_blank_line()
Insertion of Blank Lines in a Layout

junco Sorting Functions and Pruning Functions

The following functions are the junco sorting and pruning functions used to create common table layouts.

bspt_pruner()
Pruning Function for pruning based on a fraction and/or a difference from the control arm
count_pruner()
Count Pruner
jj_complex_scorefun()
Complex Scoring Function
keep_non_null_rows()
Pruning Function to accommodate removal of completely NULL rows within a table
remove_rows()
Pruning function to remove specific rows of a table regardless of counts
safe_prune_table()
Safely Prune Table With Empty Table Message If Needed

junco Splitting Functions

The following functions are junco column spanning functions used to create common table layouts.

cond_rm_facets()
Conditional Removal of Facets
create_colspan_map()
Creation of Column Spanning Mapping Dataframe
create_colspan_var()
Creation of Column Spanning Variables
make_combo_splitfun()
Split Function Helper
real_add_overall_facet()
Add Overall Facet

junco Functions For titles/footnotes and generating .rtfs

The following utility functions help to add titles/footnotes and generate the .rtf files.

listing_column_widths() def_colwidths()
Define Column Widths
get_titles_from_file()
Get Titles/Footers For Table From Sources
set_titles()
Set Output Titles
tt_to_tlgrtf()
TableTree to .rtf Conversion

junco Miscellaneous Functions

The following functions are other miscellaneous junco functions used to create common table layouts.

remove_col_count()
Removal of Unwanted Column Counts
rm_levels()
Removal of Levels
get_mmrm_lsmeans()
Extract Least Square Means from `MMRM`
get_ref_info()
Obtain Reference Information for a Global Reference Group
get_visit_levels()
Get Visit Levels in Order Defined by Numeric Version