Package index
-
import_data() - Import an analysis dataset
-
dissect() - Dissect a dataset before regression
-
descriptive_table() - Descriptive summary table
-
uni_reg() - Univariable regression
-
multi_reg() - Multivariable regression
-
conditional_logit_reg() - Conditional logistic regression for matched case-control studies
-
multilevel_reg() - Random-intercept multilevel regression
-
ordinal_reg() - Proportional-odds ordinal logistic regression
-
multinomial_reg() - Multinomial logistic regression
-
risk_difference() - Risk difference between two groups
-
stratified_uni_reg() - Stratified univariable regression
-
stratified_multi_reg() - Stratified multivariable regression
-
km_plot() - Kaplan-Meier survival plot
-
km_risk_table() - Kaplan-Meier risk table
-
survival_summary() - Kaplan-Meier survival summary table
-
survival_quantiles() - Kaplan-Meier survival quantile table
-
survival_prob() - Kaplan-Meier survival probability table
-
rmst_table() - Restricted mean survival time table
-
logrank_test() - Log-rank test for Kaplan-Meier survival curves
-
cuminc_plot() - Cumulative incidence plot for competing risks
-
cox_reg() - Cox proportional hazards regression
-
surv_reg() - Parametric survival regression
-
competing_risk_reg() - Fine-Gray competing-risk regression
-
check_ph() - Check proportional hazards assumption for Cox models
-
plot(<gtregression_ph>) - Plot proportional hazards diagnostics
-
plot_cox_survival() - Plot adjusted survival curves from a Cox model
-
surv_model_compare() - Compare parametric survival model distributions
-
plot_surv_fit() - Plot observed and fitted parametric survival curves
-
surv_predict() - Predict survival probabilities from a parametric survival model
-
plot_reg() - Plot regression estimates
-
plot_reg_combine() - Plot crude and adjusted estimates side by side
-
forest_df() - Build a compatible data frame for forest plots
-
forest_reg() - Draw a forest table from regression outputs
-
check_convergence() - Check regression model convergence
-
check_collinearity() - Check collinearity using VIF for fitted models
-
plot_model_fit() - Plot model-fit diagnostics
-
compare_models() - Compare prespecified regression models
-
select_models() - Stepwise model selection with fit metrics
Confounding, interaction and mediation
Support causal interpretation of an exposure-outcome association.
-
identify_confounder() - Identify confounders and effect modifiers
-
interaction_models() - Compare models with and without an interaction term
-
mediation_analysis() - Causal mediation analysis
-
plot_mediation() - Plot mediation paths
-
modify_table() - Modify table labels, headers, captions and notes
-
merge_tables() - Merge two or more tables side by side
-
save_table() - Save a single regression or summary table
-
save_docx() - Save multiple tables and plots to a Word document
-
save_plot() - Save a single plot
-
save_forest() - Save a forest_reg() output
-
gtregression_app() - Launch the gtregression app
-
gtregression_addin() - Launch the gtregression app from the RStudio Addins menu
-
`$`(<gtregression>) - Access fields on gtregression objects with `$`
-
print(<gtregression>) - Print gtregression objects
-
data_birthwt - Birth Weight Data
-
data_SynthDiabetes - Synthetic Diabetes Dataset
-
data_gt_quin - Student Absenteeism in Rural Schools
-
data_epilepsy - Epilepsy Treatment and Seizure Counts
-
data_endometrial - Endometrial Cancer Histology Grade Data
-
data_diabetes_mediation - Diabetes Mediation Teaching Dataset
-
data_competing_risk - Synthetic Competing-Risk Oncology Dataset
-
data_infertility - Infertility Matched Case-Control Study
-
data_lungcancer - Lung Cancer Trial Data