Learn R Programming

junco

[![Check

Copy Link

Version

Install

install.packages('junco')

Monthly Downloads

657

Version

0.1.2

License

Apache License (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Gabriel Becker

Last Published

December 20th, 2025

Functions in junco (0.1.2)

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_freq_resp_var_j

Analysis Function for Response Variables
a_summarize_aval_chg_diff_j

Analysis function 3-column presentation
a_eair100_j

Exposure-Adjusted Incidence Rate
a_proportion_ci_logical

Formatted Analysis Function For Proportion Confidence Interval for Logical
a_freq_j

Analysis/statistical function for count and percentage in core columns and (optional) relative risk columns
a_patyrs_j

Patient years exposure
a_maxlev

Calculate Count and Percentage of the Maximum Level of an Ordered Factor per Subject.
a_freq_combos_j

Analysis function count and percentage in column design controlled by combosdf
ac_blank_line

Analysis and Content Summary Function Producing Blank Line
c_proportion_logical

c_function for proportion of TRUE in logical vector
build_formula

Building Model Formula
assert_rbmi

Assert that rbmi package is installed
bspt_pruner

Pruning Function for pruning based on a fraction and/or a difference from the control arm
analyze_values

Shortcut Layout Function for Standard Continuous Variable Analysis
a_summarize_ex_j

Tabulation for Exposure Tables
create_colspan_map

Creation of Column Spanning Mapping Dataframe
create_colspan_var

Creation of Column Spanning Variables
cond_rm_facets

Conditional Removal of Facets
count and fraction related formatting functions

Formatting functions for count and fraction, and for count denominator and fraction values
c_row_counts

Simple Content Row Function to Count Rows
count_pruner

Count Pruner
default_str_map

Default String Mapping for Special Characters
do_exclude_split

Predicate to Check if Split Should be Excluded
a_two_tier

Two Tier Analysis Function
h_extract_coxreg_multivar

Extract Estimates from Multivariate Cox Regression Model Fit Object
h_get_covariate_parts

Extraction of Covariate Parts from Character Vector
cmp_cfun

Summary Analysis Function for Compliance Columns
cmp_post_fun

Split Function for Compliance Columns
c_row_counts_alt

Simple Content Row Function to Count Rows from Alternative Data
export_graph_as_docx

export_graph_as_docx
export_as_docx_j

Export a VTableTree or a listing_df object into docx
get_visit_levels

Get Visit Levels in Order Defined by Numeric Version
get_titles_from_file

Get Titles/Footers For Table From Sources
check_wrap_nobreak

Check Word Wrapping
listing_column_widths

Define Column Widths
default_stats_formats_labels

Get default statistical methods and their associated formats, labels, and indent modifiers
cmhrms

Cochran-Mantel-Haenszel Row Mean Scores test
coxph_hr

Workaround statistics function to add HR with CI
jjcsformat_xx

Utility for specifying custom formats
jjcs_num_formats

Numeric Formatting Function
make_combo_splitfun

Split Function Helper
column_stats

Statistics within the column space
jj_complex_scorefun

Complex Scoring Function
.unlist_keep_nulls

Custom unlist function
event_free

Workaround statistics function to time point survival estimate with CI
prop_table_afun

Formatted Analysis Function for Proportion Analysis
lsmeans_wide_cfun

Content Row Analysis Function for LS Means Wide Table Layouts
lsmeans_helpers

Helpers for Processing Least Square Means
make_rbmi_cluster

Create a rbmi ready cluster
get_mmrm_lsmeans

Extract Least Square Means from MMRM
get_ref_info

Obtain Reference Information for a Global Reference Group
kaplan_meier

Survival time analysis
keep_non_null_rows

Pruning Function to accommodate removal of completely NULL rows within a table
proposal_argument_convention

Standard Arguments
rbmi_ancova_single

Implements an Analysis of Covariance (ANCOVA)
h_get_design_mat

Helper Function to Create Logical Design Matrix from Factor Variable
h_get_trtvar_refpath

Get Treatment Variable Reference Path
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)
rbmi_mmrm

MMRM Analysis for Imputed Datasets
resp01_split_fun_fct

Split Function Factory for the Response Tables (RESP01)
no_data_to_report_str

No Data to Report String
odds_ratio

Odds ratio estimation
response_by_var

Count denom fraction statistic
fit_mmrm_j

MMRM Analysis
get_ctrl_subset

Get Control Subset
rbmi_ancova

Analysis of Covariance
rm_levels

Removal of Levels
rm_other_facets_fact

rm_other_facets_fact
set_titles

Set Output Titles
rbmi_analyse

Analyse Multiple Imputed Datasets
safe_prune_table

Safely Prune Table With Empty Table Message If Needed
find_missing_chg_after_avisit

Helper for Finding AVISIT after which CHG are all Missing
fit_ancova

ANCOVA Analysis
insert_blank_line

Insertion of Blank Lines in a Layout
inches_to_spaces

Conversion of inches to spaces.
labels

Adding Labels To Variables For Model
par_lapply

Parallelise Lapply
remove_col_count

Removal of Unwanted Column Counts
remove_rows

Pruning function to remove specific rows of a table regardless of counts
pad_in_rows_fct

Function Factory to Create Padded In Rows Content
leftside

Extract the left-hand side of a formula
s_proportion_factor

s_function for proportion of factor levels
tabulate_rbmi

Tabulation of RBMI Results
s_ancova_j

Junco Extended ANCOVA Function
summarize_lsmeans_wide

Layout Generating Function for LS Means Wide Table Layouts
summarize_mmrm

Dynamic tabulation of MMRM results with tables
tefos03_first_post_fun

First Level Column Split Function for TEFOS03 (mmy) Table Layout
string_to_title

Title Case Conversion
summarize_coxreg_multivar

Layout Generating Function for TEFOS03 and Related Cox Regression Layouts
h_odds_ratio

Helper functions for odds ratio estimation
rbmi_mmrm_single_info

Extract Single Visit Information from a Fitted MMRM for Multiple Imputation Analysis
prop_post_fun

Split Function for Proportion Analysis Columns
resp01_acfun

Formatted Analysis and Content Summary Function for Response Tables (RESP01)
rbmi_pool

Pool analysis results obtained from the imputed datasets
prop_ratio_cmh

Relative Risk CMH Statistic
tefos03_second_split_fun_fct

Second Level Column Split Function Factory for TEFOS03 (mmy) Table Layout
lsmeans_wide_second_split_fun_fct

Second Level Column Split for LS Means Wide Table Layouts
h_summarize_mmrm

Helper Function to Fit the MMRM and Return LS Mean Estimates and Contrasts
tefos03_afun

Analysis Function for TEFOS03 and Related Table Layouts
lsmeans_wide_first_split_fun_fct

First Level Column Split for LS Means Wide Table Layouts
real_add_overall_facet

Add Overall Facet
prop_diff

Proportion difference estimation
resp01_counts_cfun

Content Row Function for Counts of Subgroups in Response Tables (RESP01)
prop_diff_test

Difference test for two proportions
a_relative_risk

Relative risk estimation
tt_to_tbldf

Create TableTree as DataFrame via gentlg
short_split_result

Shortcut for Creating Custom Column Splits
tt_to_tlgrtf

TableTree to .rtf Conversion
a_summarize_ancova_j

ANCOVA Summary Function
tabulate_lsmeans

Tabulation of Least Square Means Results
s_proportion_logical

s_function for proportion of TRUE in logical vector
summarize_row_counts

Layout Creating Function Adding Row Counts
smart_colwidths_1page

Colwidths for all columns to be forced on one page.
tt_to_flextable_j

Convert a VTableTree or a listing_df object to a flextable
tidy.pool

Helper method (for broom::tidy()) to prepare a data frame from an pool rbmi object containing the LS means and contrasts and multiple visits
tern_default_stats_formats_labels

Get default statistical methods and their associated formats, labels, and indent modifiers
theme_docx_default_j

Obtain the default theme for the docx
var_relabel_list

Relabel Variables in a Dataset