Package: equatiomatic 0.4.8

Philippe Grosjean

equatiomatic: Transform Models into 'LaTeX' Equations

The goal of 'equatiomatic' is to reduce the pain associated with writing 'LaTeX' formulas from fitted models. The primary function of the package, extract_eq(), takes a fitted model object as its input and returns the corresponding 'LaTeX' code for the model.

Authors:Daniel Anderson [aut], Andrew Heiss [aut], Jay Sumners [aut], Joshua Rosenberg [ctb], Jonathan Sidi [ctb], Ellis Hughes [ctb], Thomas Fung [ctb], Reza Norouzian [ctb], Indrajeet Patil [ctb], Quinn White [ctb], David Kane [ctb], Philippe Grosjean [cre], Teun van den Brand [ctb], Guyliann Engels [ctb]

equatiomatic_0.4.8.tar.gz
equatiomatic_0.4.8.zip(r-4.7)equatiomatic_0.4.8.zip(r-4.6)equatiomatic_0.4.8.zip(r-4.5)
equatiomatic_0.4.8.tgz(r-4.6-any)equatiomatic_0.4.8.tgz(r-4.5-any)
equatiomatic_0.4.8.tar.gz(r-4.7-any)equatiomatic_0.4.8.tar.gz(r-4.6-any)
equatiomatic_0.4.8.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
equatiomatic/json (API)

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

Bug tracker:https://github.com/datalorax/equatiomatic/issues

Pkgdown/docs site:https://datalorax.github.io

Datasets:
  • arrests - Arrest data from Gelman & Hill
  • hsb - A subset of the full 1982 High School and Beyond Survey
  • penguins - Size measurements for adult foraging penguins near Palmer Station, Antarctica
  • polls - The polls data from Gelman and Hill
  • sim_longitudinal - Simulated longitudinal data
  • simple_ts - Simple simulated time series data
  • ts_reg_list - Simulated data for time-series regression

On CRAN:

Conda:

12.88 score 626 stars 5 packages 545 scripts 4.0k downloads 1 mentions 7 exports 63 dependencies

Last updated from:55bd1a914f. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK213
source / vignettesOK292
linux-release-x86_64OK201
macos-release-arm64OK207
macos-oldrel-arm64OK213
windows-develOK145
windows-releaseOK132
windows-oldrelOK165
wasm-releaseOK155

Exports:eq_eq__eqOutputequationextract_eqpreview_eqrenderEq

Dependencies:backportsbase64encbroombroom.mixedbslibcachemclicodacodetoolscommonmarkcpp11digestdplyrevaluatefastmapfontawesomeforcatsfsfurrrfuturegenericsglobalsgluehighrhtmltoolshttpuvjquerylibjsonliteknitrlaterlatticelifecyclelistenvmagrittrmemoisemimenlmeotelparallellypillarpkgconfigpromisespurrrR6rappdirsRcpprlangrmarkdownsassshinysourcetoolsstringistringrtibbletidyrtidyselecttinytexutf8vctrswithrxfunxtableyaml

Tidymodels with {equatiomatic}
Working with workflows | Models requiring

Last update: 2026-04-10
Started: 2025-07-23

Introduction to {equatiomatic}
Background and Motivation | Example Usage | A basic example for a multiple linear regression | An example with a slightly more complicated model | Raw TeX code | Coefficients | Other models | Logistic Regression | Probit Regression | Ordinal Regression | Logit method | Probit method | Working with a list of models | Things the package does not yet do | Contributing

Last update: 2026-04-10
Started: 2024-05-23

lme4::lmer Models
Setup | Unconditional models | Models with predictors at level 1 | Models with unstructured variance-covariance specifications | Group level predictors | Interactions | Alternative variance-covariance specifications | Using estimated coefficients | Future developments

Last update: 2025-08-26
Started: 2021-01-30

Equations in R Markdown and Quarto
Display equations from an R chunk | Inline equations in R Markdown or Quarto documents | Display equations with labels | Customizing equations

Last update: 2025-07-23
Started: 2025-07-23

Colorizing equations and swapping variable names
Changing variable names | Current models and future plans

Last update: 2025-07-23
Started: 2021-09-03

Tests and Coverage
Coverage | Unit Tests

Last update: 2025-07-23
Started: 2019-05-31

forecast::Arima Models
Basic Examples | ARIMA without Exogenous Regressors | Setup | Extracting the equation | Regression with ARIMA Errors | Working with other parts of | Future Development

Last update: 2025-07-23
Started: 2021-01-08

Plotting with {equatiomatic}
A simple use case | Base graphics | More complicated: Multi-line equations | Convert to a single line | Manually place text geoms | Limitations and future development

Last update: 2025-07-23
Started: 2021-01-19

Usage with shiny
TL;DR | More detail

Last update: 2025-07-23
Started: 2021-08-06