Create Common TLGs Used in Clinical Trials
Count patients with abnormal analysis range values by baseline status
Count patients with marked laboratory abnormalities
Count patients by most extreme post-baseline toxicity grade per direct...
Count patients with toxicity grades that have worsened from baseline b...
Count patients with abnormal range values
Split function to configure risk difference column
Layout-creating function to add row total counts
Labels for adverse event baskets
Analysis function to calculate risk difference column values
Get selected statistics names
Analyze functions in columns
Analyze functions
Analyze variables
Analyze numeric variables in columns
Add variable labels to top left corner in table
Apply automatic formatting
Standard arguments
Arrange multiple grobs
Convert to rtable
Additional assertions to use with checkmate
Labels for bins in percent
Content row function to add alt_counts_df
row total to labels
Content row function to add row total to labels
Constructor for content functions given a data frame with flag input
Check proportion difference arguments
Check element dimension
Class for CombinationFunction
Combine counts
Reference and treatment group combination
Element-wise combination of two vectors
Compare variables between groups
Control function for descriptive statistics
Control functions for Kaplan-Meier plot annotation tables
Control function for Cox-PH model
Control function for Cox regression
Control function for incidence rate
Control function for g_lineplot()
Control function for logistic regression model fitting
Control function for risk difference column
Control function for subgroup treatment effect pattern (STEP) calculat...
Control function for survfit
models for survival time
Control function for survfit
models for patients' survival rate at t...
Cumulative counts of numeric variable by thresholds
Count number of patients with missed doses by thresholds
Count occurrences by grade
Count occurrences
Count patient events in columns
Count the number of patients with a particular event
Count the number of patients with particular flags
Count specific values
Cox regression helper function for interactions
Cox proportional hazards regression
Cut numeric vector into empirical quantile bins
Description function for s_count_abnormal_by_baseline()
Description of cumulative count
Description function that calculates labels for `s_count_missed_doses(...
Description of standard oncology response
Generate PK reference dataset
Description of method used for proportion comparison
Description of the proportion summary
Labels for column variables in binary response by subgroup table
Labels for column variables in survival duration by subgroup table
Description of the difference test between two proportions
Conversion of days to months
Update page number
Decorate set of grob
s and add page numbering
Add titles, footnotes, page Number, and a bounding box to a grid grob
Default string replacement for NA
values
Get default statistical methods and their associated formats, labels, ...
Confidence intervals for a difference of binomials
Encode categorical missing values in a data frame
Convert data.frame
object to ggplot
object
Utility function to check if a float value is equal to another float v...
Draw grob
Return an empty numeric if all elements are NA
.
Hazard ratio estimation in interactions
Estimate proportions of each level of a variable
Proportion estimation
Simulated CDISC data for examples
Missing data
Extract elements by name
Prepare response data estimates for multiple biomarkers in a single da...
Prepare response data for population subgroups in data frames
Prepare survival data estimates for multiple biomarkers in a single da...
Prepare survival data for population subgroups in data frames
Format extreme values
Utility function to create label for confidence interval
Utility function to create label for p-value
Factor utilities
Fitting functions for Cox proportional hazards regression
Fit for logistic regression
Subgroup treatment effect pattern (STEP) fit for binary (response) out...
Subgroup treatment effect pattern (STEP) fit for survival outcome
Create a viewport tree for the forest plot
Format automatically using data significant digits
Format count and percentage with fixed single decimal place
Format count and fraction with special case for count < 10
Format count and fraction
Format extreme values part of a confidence interval
Format a single extreme value
Format fraction and percentage with fixed single decimal place
Format fraction with lower threshold
Format fraction and percentage
Format numeric values by significant figures
Format XX as a formatting function
Formatting functions
Bland-Altman plot
Create a forest plot from an rtable
Individual patient plots
Kaplan-Meier plot
Line plot with optional table
Create a STEP graph
Horizontal waterfall plot
Utility function to return a named list of covariate names
Smooth function with optional grouping
Convert list of groups to a data frame
Helper function to prepare ADLB for count_abnormal_by_worst_grade()
Helper function to prepare ADLB with worst labs
Helper function for deriving analysis datasets for select laboratory t...
Helper function to return results of a linear model
Helper function for s_count_occurrences_by_grade()
Helper functions for tabulation of a single biomarker result
Obtain column indices
Helper function for s_count_cumulative()
Helper functions for Cox proportional hazards regression
Helper function to tidy survival fit data
ggplot
decomposition
Helper function to format the optional g_lineplot
table
Helper function to create simple line plot over time
Helper function to create a KM plot
Helper functions for Poisson models
Helper function to create Cox-PH grobs
Helper function to create survival estimation grobs
Helper function to create patient-at-risk grobs
Helper function to create grid object with y-axis annotation
Helper functions for incidence rate
Helper function to prepare a KM layout
Helper functions for multivariate logistic regression
Helper function to create a map data frame for trim_levels_to_map()
Helper functions for odds ratio estimation
Sort pharmacokinetic data by PARAM
variable
Function to return the estimated means using predicted probabilities
Helper functions to test proportion differences
Helper functions to calculate proportion difference
Helper functions for calculating proportion confidence intervals
Helper functions for tabulating biomarker effects on binary response b...
Helper functions for tabulating binary response by subgroup
Split data frame by subgroups
Split parameters
Helper function to create a new SMQ variable in ADAE by stacking SMQ a...
Helper functions for subgroup treatment effect pattern (STEP) calculat...
Helper functions for tabulating biomarker effects on survival by subgr...
Helper functions for tabulating survival duration by subgroup
Helper function for generating a pairwise Cox-PH table
Helper function for survival estimations
Helper function to analyze patients for `s_count_abnormal_lab_worsen_b...
Helper function to calculate x-tick positions
Apply 1/3 or 1/2 imputation rule to data
Incidence rate estimation
Labels or names of list elements
Update labels according to control specifications
Logistic regression multivariate column layout function
Logistic regression summary table
Make names without dots
Conversion of months to days
Muffled car::Anova
Number of available (non-missing entries) in a vector
Odds ratio estimation
Difference test for two proportions
Proportion difference estimation
Occurrence table pruning
Re-implemented range()
default S3 method for numerical objects
Reapply variable labels
Tabulate biomarker effects on binary response by subgroup
Tabulate binary response by subgroup
Convert rtable
objects to ggplot
objects
Helper functions for accessing information from rtables
Bland-Altman analysis
Multivariate Cox model - summarized results
Convert strings to NA
Occurrence table sorting
Split columns by groups of levels
Split text according to available text width
Stack multiple grobs
Confidence interval for mean
p-Value of the mean
Confidence interval for median
Proportion difference and confidence interval
Helper function for the estimation of stratified quantiles
Indicate study arm variable in formula
Summarize analysis of covariance (ANCOVA) results
Summarize change from baseline values or absolute baseline values
Summarize variables in columns
Summarize functions
Summarize Poisson negative binomial regression
Multivariate logistic regression table
Count number of patients
Count number of patients and sum exposure across all patients in colum...
Tabulate biomarker effects on survival by subgroup
Analyze a pairwise Cox-PH model
Tabulate survival duration by subgroup
Survival time analysis
Survival time point analysis
tern Package
Custom tidy methods for Cox regression
Custom tidy method for binomial GLM results
Custom tidy method for STEP results
Replicate entries of a vector if required
Convert table into matrix of strings
tryCatch
around car::Anova
Univariate formula special term
Blank for missing input
Helper function for the estimation of weights for `prop_strat_wilson()...
Utilities to handle extra arguments in analysis functions
Custom split functions
Table, Listings, and Graphs (TLG) library for common outputs used in clinical trials.
Useful links