Package: SimtablR 3.1.2

SimtablR: Easy Publication-Ready Tables and Regression Analysis

Streamlines the creation of descriptive frequency tables ('Table 1'), diagnostic test accuracy evaluations (sensitivity, specificity, predictive values), and multi-outcome regression summaries. Features a grammar for publication-ready epidemiological tables built on design-aware effect measures, prevalence and odds ratio calculations, and seamless integration with 'flextable' for exporting results to 'Microsoft Word' and 'PowerPoint'.

Authors:Matheus Trabuco Gonzalez [aut, cre]

SimtablR_3.1.2.tar.gz
SimtablR_3.1.2.zip(r-4.7-any)SimtablR_3.1.2.zip(r-4.6-any)SimtablR_3.1.2.zip(r-4.5-any)
SimtablR_3.1.2.tgz(r-4.6-any)SimtablR_3.1.2.tgz(r-4.5-any)
SimtablR_3.1.2.tar.gz(r-4.7-any)SimtablR_3.1.2.tar.gz(r-4.6-any)
SimtablR_3.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
SimtablR/json (API)

# Install 'SimtablR' in R:
install.packages('SimtablR', repos = c('https://matheustg-14.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/matheustg-14/simtablr/issues

Pkgdown/docs site:https://matheustg-14.github.io

Datasets:
  • epitabl - ESTROBE-ACS Teaching Cohort

On CRAN:

Conda:

diagnosticseasy-to-learnepidemiologypublic-healthregression-analysisregression-modelsresearchstatisticstable

6.03 score 5 stars 18 scripts 328 downloads 55 exports 12 dependencies

Last updated from:4d4d4ea8f0. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK161
source / vignettesOK221
linux-releaseOK204
macos-releaseOK272
macos-oldrelOK182
windows-develOK150
windows-releaseOK118
windows-oldrelOK157
wasm-releaseOK124

Exports:add_effectadjustadviseas_flextable.simtab_rbind_tbas_flextable.simtab_reportas_flextable.simtab_resultas_flextable.simtab_specas_gtas_methodscodebookdescribedesigndiag_teste_valueengineevaluateexport_docxexport_plotexport_pptxexport_regtab_csvexport_regtab_xlsxexport_xlsxflowfmtis_simtabjournal_stylelabellist_engineslist_journalsmeasuremissingnessmodel_infooverallregister_engineregister_journalregtabrepro_manifestrocsensitivityset_designset_summarysimtabsimtab_completionssimtablrsimtablr_guidancestardstratifystrobestylesurvtabtable1tbtestvalidatewhy

Dependencies:clidigestgenericsgluelatticelifecyclerlangsandwichtidyselectvctrswithrzoo

regtab() & survtab(): Multivariable Modeling and Longitudinal Outcomes
1. Study Design & Effect Measure Alignment | 2. Multivariable GLMs with regtab() | 2.1 Logistic Regression & Robust Sandwich Covariance | Robust Standard Errors: | 2.2 Multi-Outcome Regression | 2.3 Model Extraction & Multicollinearity Diagnostics | 3. Sparse Data & Firth Penalized Likelihood Regression | 4. Time-to-Event Survival Analysis with survtab() | 4.1 Proportional Hazards Diagnostics & Advisory Audit | 4.2 Forest Plot Visualization & Methods Generation

Last update: 2026-10-31
Started: 2026-10-07

simtab Grammar, Reviewer Analyses, and Export: From Protocol to Manuscript
1. The Declarative SimtablR Grammar | 1.1 Building an Inert Specification (simtab_spec) | 1.2 Plan Validation & Evaluation | 1.3 Verb Closure: Modifying Existing Results | 2. Composite Manuscript Reports with simtablr() | 3. Reviewer Analyses, Sensitivity, and Bias Auditing | 3.1 Sensitivity Analysis with sensitivity() | 3.2 Unmeasured Confounding: E-Value Analysis | 3.3 Methodological Advice and Decision Audit | 3.4 Participant Flow and Flowchart Visualization | 3.5 Reporting Checklists and Codebooks | 4. Publication Rendering, Journal Styling, and File Export | 4.1 Journal Presets | 4.2 Interactive Tables (gt) and Office Tables (flextable) | 4.3 Native Export to Word and Excel | 4.4 Automated Methodology Prose

Last update: 2026-10-31
Started: 2026-10-07

table1() & tb(): Cohort Baseline Characteristics and 2x2 Tables
1. Multi-Variable Baseline Cohort Description with table1() | Key Statistical Behaviors of table1() | Adding Standardized Mean Differences (SMD) via Verb Closure | 2. Focused Bivariate Analyses with tb() | 2.1 Study Design Resolution: Prevalence Ratio at Presentation, Risk Ratio in Follow-up | 2.2 Flags for quick coding | 3. Stratified Analysis & Mantel-Haenszel Pooling | 4. Stacking Multiple Bivariate Tables with rbind()

Last update: 2026-10-31
Started: 2026-10-07

diag_test() & roc(): Diagnostic Accuracy and Biomarker Discrimination
1. Defining the Diagnostic Cohort | 2. Binary Diagnostic Test Accuracy with diag_test() | Key Metrics Computed: | 2.1 Confusion Matrix Visualization | 2.2 Tidy Metric Extraction | 3. Continuous Biomarker Discrimination with roc() | 3.1 Empirical AUC and DeLong Confidence Intervals | 3.2 Threshold Optimization with Youden's J | 3.3 Publication ROC Plot | 4. Reporting Guidelines: STARD Checklist & Automated Methods

Last update: 2026-10-07
Started: 2026-10-07

Readme and manuals

Help Manual

Help pageTopics
Add or replace the effect-measure column(s) of a table1add_effect
Capture adjustment covariatesadjust
Run educator advice rulesadvise
Convert a SimtablR codebook to a flextableas_flextable.simtab_codebook
Convert simtab_rbind_tb Object to Flextableas_flextable.simtab_rbind_tb
Convert a SimtablR result or spec to a flextableas_flextable.simtab_report as_flextable.simtab_result as_flextable.simtab_spec
Convert a SimtablR object to a gt tableas_gt as_gt.simtab_rbind_tb as_gt.simtab_report as_gt.simtab_result as_gt.simtab_spec
Generate a manuscript methods sentenceas_methods as_methods.simtab_report as_methods.simtab_result
Coerce a SimtablR audit to a data.frameas.data.frame.simtab_audit
Convert rbind_tb to Data Frameas.data.frame.simtab_rbind_tb
Coerce a SimtablR report to a data.frameas.data.frame.simtab_report
Convert a SimtablR result or spec to a data frameas.data.frame.simtab_result as.data.frame.simtab_spec
Autoplot a computed SimtablR resultautoplot.simtab_result
Plot a computed SimtablR specautoplot.simtab_spec
Build a SimtablR codebookcodebook
Capture variables to describedescribe
Read a recorded study designdesign
Assess the accuracy of a binary diagnostic testdiag_test
Compute E-values for SimtablR ratio estimatese_value e_value.simtab_result
Select a registered computation engineengine
ESTROBE-ACS Teaching Cohortepitabl
Evaluate a SimtablR analysis specificationevaluate
Export a SimtablR table to a Word (.docx) fileexport_docx
Export a SimtablR plot to an image fileexport_plot
Export a SimtablR table to a PowerPoint (.pptx) fileexport_pptx
Export regtab results to CSVexport_regtab_csv
Export regtab results to Excelexport_regtab_xlsx
Export a SimtablR table to an Excel (.xlsx) fileexport_xlsx
Build a participant flow table from recorded factsas_flextable.simtab_flow autoplot.simtab_flow flow
Set render formatting optionsfmt
Glance a SimtablR resultglance.simtab_result glance.simtab_spec
Test whether an object is a SimtablR result, optionally of a given presetis_simtab
Create a SimtablR style / journal presetjournal_style
Set display labelslabel
List registered SimtablR engineslist_engines
List available journal style presetslist_journals
Set an effect measuremeasure
Set missing-data policymissingness
Inspect retained model convergence informationmodel_info
Access retained model evidencecoef.simtab_result confint.simtab_result formula.simtab_result model-accessors nobs.simtab_result vcov.simtab_result
Toggle the overall columnoverall
Plot diagnostic test resultsplot.simtab_diag
Print Method for simtab_rbind_tb Objectsprint.simtab_rbind_tb
Print a computed SimtablR resultprint.simtab_result
Combine tb Objects by Rowsrbind.simtab_tb
Register a SimtablR computation engineregister_engine
Register a named journal style presetregister_journal
Fit one regression model per outcomeregtab
Build a reproducibility manifestrepro_manifest
Evaluate continuous markers with ROC curvesroc
Recompute reviewer-loop sensitivity variationsas_flextable.simtab_sensitivity sensitivity
Set study design metadataset_design
Set the default summary statisticset_summary
Start a SimtablR analysis specificationsimtab
Opt-in RStudio autocomplete for SimtablR callssimtab_completions
SimtablR condition classessimtab_errors
Build a manuscript-ready SimtablR report in one callsimtablr
Set or query SimtablR educator guidancesimtablr_guidance
References cited by SimtablRsimtablr_references
Build a STARD reporting checkliststard
Capture a stratifying variablestratify
Build a STROBE reporting checklistas_flextable.simtab_checklist strobe
Set or update a SimtablR stylestyle
Fit a Cox proportional hazards modelsurvtab
Describe a cohort across many variables (Table 1)table1
Cross-tabulate one or two variablestb
Set a comparison testtest
Tidy a SimtablR resulttidy.simtab_result tidy.simtab_spec
Validate a SimtablR specification before computevalidate
Report why SimtablR made each recorded decisionwhy