rk.gtsummary: Publication-Ready Summary & Regression Tables for RKWard

A Zero-Code GUI Wrapper for the gtsummary Package: From Descriptive Stats to Advanced Regression Modeling

rk.gtsummary empowers researchers to generate beautiful, highly customizable, and publication-ready tables directly from the RKWard GUI. Whether you are summarizing simple data frames or running predictive regression models on complex, weighted survey designs (like IPUMS or demographic censuses), this plugin handles the heavy lifting, formatting, and statistical extraction automatically.


πŸš€ What's New in Version 0.2.1

πŸš€ What's New in Version 0.2.0 (The Regression Update)

πŸš€ What's New in Version 0.1.4

What's New in Version 0.1.3

What's New in Version 0.1.2

Features


βš™οΈ Prerequisites

You must have RKWard installed along with the following R packages. The plugin will automatically attempt to load them when required:

install.packages(c("gtsummary", "survey"))

Installation

This plugin is not yet on CRAN. To install it, you need the {remotes} (or {devtools}) package.

  1. Open RKWard.

  2. Run the following command in the R console:

    # If you don't have remotes installed:
    # install.packages("remotes")
    
    local({
      require(remotes)
      install_github("AlfCano/rk.gtsummary", force = TRUE)
    })
    
  3. Activate the Plugin: Restart RKWard to load the new menu items and translations.


πŸ› οΈ Usage Workflow

This plugin adds a comprehensive suite of 4 analytical tools under the Analysis > gt Summaries menu in RKWard:

1. Summary Table (tbl_summary)

For standard Data Frames.

2. Survey Summary Table (tbl_svysummary)

3. Standard Regression Model (glm)

Build predictive models from standard Data Frames.

4. Survey Regression Model (svyglm)

Build predictive models from weighted survey designs.

5. Table for Existing Models (Hybrid Workflow)

For advanced users who code their models but hate formatting tables manually.


Workflow:

  1. Data Tab: Select your dataset and variables.
  2. Statistics Tab: Choose how to present means, medians, or percentages.
  3. Themes Tab: Apply journal themes or languages.
  4. Output Tab: Choose whether to convert the object (e.g., to flextable for Word export) and save it to your workspace.

Suggestion

This plugin requires the following R packages to be installed:

Optional but recommended for export features:


πŸ“ License and Author

Author: Alfonso Cano (@AlfCano)
Email: alfonso.cano@correo.buap.mx

This project is licensed under the GPL (>= 3) License.