← Back to home
Comparison · Analytics

gratia vs lavaanExtra

A side-by-side editorial comparison of gratia and lavaanExtra — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:r-package

gratia vs lavaanExtra: at a glance

FeaturegratialavaanExtra
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesgam, mgcv, ggplot2, statistical-graphicsr-package, structural-equation-modeling, lavaan, apa-reporting
Last editorial update2h ago55m ago
WebsiteVisit →Visit →

What is gratia?

The tidy front-end for GAMs, now stable enough that upstream ggplot2 sets its release calendar.

gratia wraps mgcv-fitted generalized additive models in tidy data frames and ggplot2 graphics — smooth_estimates(), fitted_values(), derivatives(), draw() and appraise() cover evaluation, prediction and diagnostics. The API reached its intended shape at 0.9.0, when every generated column was renamed to a dot-prefixed form, and 0.10.0 added conditional_values() for covariate-conditional prediction plots.

Read the full gratia trajectory →

What is lavaanExtra?

SEM reporting helpers converging on APA output, one CRAN resubmission at a time.

lavaanExtra provides shorthand syntax and formatted output around lavaan structural equation models - write_lavaan() to build model strings, and nice_* functions for fit tables, plots, and modification indices. Three of the six visible releases exist only to satisfy CRAN resubmission: a unicode problem, a dependency version check, tests running without suggested packages. The substance sits in 0.1.5, 0.1.8, and 0.1.9.

Read the full lavaanExtra trajectory →

gratia vs lavaanExtra: editorial side-by-side

G
gratia
ANALYTICS
0.0

The tidy front-end for GAMs, now stable enough that upstream ggplot2 sets its release calendar.

◆ Current state

gratia wraps mgcv-fitted generalized additive models in tidy data frames and ggplot2 graphics — smooth_estimates(), fitted_values(), derivatives(), draw() and appraise() cover evaluation, prediction and diagnostics. The API reached its intended shape at 0.9.0, when every generated column was renamed to a dot-prefixed form, and 0.10.0 added conditional_values() for covariate-conditional prediction plots.

◆ Where it's heading

The package has moved through a long rewrite cycle and out the other side. Successive releases replaced evaluate_smooth() with smooth_estimates(), rebuilt draw() on top of it, then renamed the entire output vocabulary to avoid colliding with user variables. That work is finished; 0.11.1 is driven almost entirely by ggplot2 4.0.0 compatibility, with new mgcv family support for quantile residuals riding along. Development now tracks upstream breakage rather than internal redesign.

◆ Prediction

Expect the next releases to continue absorbing ggplot2 4.x and mgcv changes, with incremental family coverage in quantile_residuals() as the visible new work. The entries give no signal on which mgcv families come next.

L
lavaanExtra
ANALYTICS
0.0

SEM reporting helpers converging on APA output, one CRAN resubmission at a time.

◆ Current state

lavaanExtra provides shorthand syntax and formatted output around lavaan structural equation models - write_lavaan() to build model strings, and nice_* functions for fit tables, plots, and modification indices. Three of the six visible releases exist only to satisfy CRAN resubmission: a unicode problem, a dependency version check, tests running without suggested packages. The substance sits in 0.1.5, 0.1.8, and 0.1.9.

◆ Where it's heading

The package generalises its own vocabulary as it goes: lavaan_ind() became lavaan_defined() once it turned out to extract any user-defined parameter, and lavaan_cov() was split so lavaan_cor() covers actual correlations. Methodological positions are taken alongside the API - dropping the estimate argument from lavaan_reg() to force reporting both standardized and unstandardized values, and updating the RMSEA benchmark to Schreiber (2017). Rémi Thériault maintains it next to rempsyc, which formats output to match. Note that 0.1.5 restates the whole 0.1.4.x development series in one body.

◆ Prediction

The pattern points to another nice_* helper aimed at a reporting step that currently needs hand formatting, arriving with the usual CRAN resubmission behind it.

Alternatives to gratia and lavaanExtra

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either gratia or lavaanExtra.

See all gratia alternatives → · See all lavaanExtra alternatives →

Recent activity from gratia and lavaanExtra

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 11mo agogratiaggplot2 4.0.0 compatibility, plus four more quantile-residual families
  2. 1y agogratiaconditional_values() replaces vis.gam for conditional prediction plots
  3. 2y agogratiaparametric_effects() joins the dot-prefix rename; LSS families begin
  4. 2y agogratiaEvery generated column gains a dot prefix
  5. 2y agolavaanExtraCRAN resubmission for a unicode problem
  6. 2y agolavaanExtralavaan_ind renamed to lavaan_defined; thresholds supported
  7. 2y agolavaanExtranice_modindices flags redundant items
  8. 3y agolavaanExtraSuggested dependency versions checked correctly
  9. 3y agolavaanExtraTests run without suggested dependencies
  10. 3y agolavaanExtraFit benchmarks updated and correlations split from covariances
  11. 3y agogratiaReal variable names in smooth_samples(), plus dplyr 1.1.0 fixes
  12. 4y agogratiaM1 example output fixes and confint tibble returns

Frequently asked questions

What is the difference between gratia and lavaanExtra?

Both compete on the same themes — r-package — within Analytics. gratia and lavaanExtra are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is gratia better than lavaanExtra?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. gratia and lavaanExtra are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to gratia?

Top gratia alternatives in Analytics are ranked by recent ship velocity. Browse the "gratia alternatives" section above for the current picks, or visit /alternatives/gratia for the full list with editorial commentary on each.

What are the best alternatives to lavaanExtra?

Top lavaanExtra alternatives in Analytics are ranked by recent ship velocity. Browse the "lavaanExtra alternatives" section above for the current picks, or visit /alternatives/lavaanextra for the full list with editorial commentary on each.