← Back to home
Comparison · Analytics

gratia vs stringx

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

Shared themes:r-package

gratia vs stringx: at a glance

Featuregratiastringx
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesgam, mgcv, ggplot2, statistical-graphicsr-package, strings, unicode, stringi
Last editorial update1h ago51m 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 stringx?

A drop-in string API for base R, kept alive by upstream check failures.

stringx reimplements base R's string and date-time functions on top of stringi, aiming for consistent and Unicode-correct behaviour. The visible window holds one behavioural change and five releases that exist because R or stringi moved underneath it. None of the recent notes add capability.

Read the full stringx trajectory →

gratia vs stringx: 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.

S
stringx
ANALYTICS
0.0

A drop-in string API for base R, kept alive by upstream check failures.

◆ Current state

stringx reimplements base R's string and date-time functions on top of stringi, aiming for consistent and Unicode-correct behaviour. The visible window holds one behavioural change and five releases that exist because R or stringi moved underneath it. None of the recent notes add capability.

◆ Where it's heading

The package's shape was settled by 0.2.1 and has not changed since; every release in the past three years is either a check failure fixed or a POSIXxt defect. The one substantive note, 0.2.6, records a behaviour change inherited from stringi rather than chosen here - strptime now fills missing fields from today's midnight. That dependence is the defining fact about the feed.

◆ Prediction

The next release is most likely another compatibility fix timed to an R or stringi update, since four of the six visible releases were exactly that.

Alternatives to gratia and stringx

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 stringx.

See all gratia alternatives → · See all stringx alternatives →

Recent activity from gratia and stringx

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 agostringxPOSIXlt conversion now sets the GMT offset
  3. 1y agogratiaconditional_values() replaces vis.gam for conditional prediction plots
  4. 2y agogratiaparametric_effects() joins the dot-prefix rename; LSS families begin
  5. 2y agostringxTests repaired after changes in R
  6. 2y agogratiaEvery generated column gains a dot prefix
  7. 2y agostringxstrptime fills missing fields from today's midnight
  8. 3y agostringxChecks repaired after an R update
  9. 3y agogratiaReal variable names in smooth_samples(), plus dplyr 1.1.0 fixes
  10. 3y agostringxChecks repaired after an R-devel change
  11. 3y agostringxFailing checks fixed
  12. 4y agogratiaM1 example output fixes and confint tibble returns

Frequently asked questions

What is the difference between gratia and stringx?

Both compete on the same themes — r-package — within Analytics. gratia and stringx 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 stringx?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. gratia and stringx 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 stringx?

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