Tools for Creating Publication-Ready Regression Tables


[Up] [Top]

Documentation for package ‘gtregression’ version 1.1.0

Help Pages

$.gtregression Access fields on gtregression objects with '$'
check_collinearity Check collinearity using VIF for fitted models
check_convergence Check regression model convergence
check_ph Check proportional hazards assumption for Cox models
compare_models Compare Prespecified Regression Models
cox_reg Cox proportional hazards regression
data_birthwt Birth Weight Data
data_diabetes_mediation Diabetes Mediation Teaching Dataset
data_endometrial Endometrial Cancer Histology Grade Data
data_epilepsy Epilepsy Treatment and Seizure Counts
data_gt_quin Student Absenteeism in Rural Schools
data_infertility Infertility Matched Case-Control Study
data_lungcancer Lung Cancer Trial Data
data_SynthDiabetes Synthetic Diabetes Dataset
descriptive_table Descriptive Summary Table (no gtsummary) using gt/flextable
dissect Dissect a dataset before regression
forest_df Build a compatible data frame for forest plots
forest_reg Draw a forest table from regression outputs
gtregression_app Launch the gtregression app
identify_confounder Identify confounders and effect modifiers
interaction_models Compare Models With and Without an Interaction Term
km_plot Kaplan-Meier survival plot
km_risk_table Kaplan-Meier risk table
logrank_test Log-rank test for Kaplan-Meier survival curves
mediation_analysis Causal mediation analysis
merge_tables Merge gtregression tables and preserve structure and notes
modify_table Modify Regression/Descriptive Tables (labels, headers, caption, notes)
multi_reg Multivariable regression
plot_mediation Plot mediation paths
plot_model_fit Plot model-fit diagnostics
plot_reg Plot regression estimates
plot_reg_combine Side-by-side forest plots: univariate vs multivariable
plot_surv_fit Plot observed and fitted parametric survival curves
print.gtregression Print gtregression objects (unified)
rmst_table Restricted mean survival time table
save_docx Save multiple tables and plots to a Word document
save_forest Save a forest_reg() output
save_plot Save a single plot
save_table Save a single regression or summary table
select_models Stepwise model selection with fit metrics
stratified_multi_reg Stratified multivariable regression
stratified_uni_reg Stratified univariable regression
survival_prob Kaplan-Meier survival probability table
survival_quantiles Kaplan-Meier survival quantile table
survival_summary Kaplan-Meier survival summary table
surv_model_compare Compare parametric survival model distributions
surv_predict Predict survival probabilities from a parametric survival model
surv_reg Parametric survival regression
uni_reg Univariate regression