← Back to home
Comparison · Infra & APIs

ggalign vs stochvol

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

ggalign vs stochvol: at a glance

Featureggalignstochvol
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesggplot2, layout, heatmaps, s7bayesian-inference, stochastic-volatility, mcmc, rcpp
Last editorial update1h ago3h ago
WebsiteVisit →Visit →

What is ggalign?

Composable aligned layouts, rebuilt on S7 while ggplot2 4.0 lands underneath.

ggalign composes multiple ggplots against a shared observation ordering, covering heatmap annotation, oncoplots, phylogenies and circular layouts. Releases have come roughly monthly through 2025, first completing the layout system, then migrating the internals to S7 and absorbing the ggplot2 4.0 changes. The alignment machinery is now exported for other packages to build on.

Read the full ggalign trajectory →

What is stochvol?

A Bayesian volatility sampler in its maintenance decade, paying for its own speed

stochvol runs MCMC for stochastic volatility models, with a C++ sampler underneath an R interface. Five years of releases in this window contain no new models: the work is compiler and dependency compatibility, CRAN check notes, and a steady trickle of corrections to the sampler itself. Its methodological milestone, the Journal of Statistical Software paper, is recorded in a 2021 tag.

Read the full stochvol trajectory →

ggalign vs stochvol: editorial side-by-side

G
ggalign
INFRA · APIS
0.0

Composable aligned layouts, rebuilt on S7 while ggplot2 4.0 lands underneath.

◆ Current state

ggalign composes multiple ggplots against a shared observation ordering, covering heatmap annotation, oncoplots, phylogenies and circular layouts. Releases have come roughly monthly through 2025, first completing the layout system, then migrating the internals to S7 and absorbing the ggplot2 4.0 changes. The alignment machinery is now exported for other packages to build on.

◆ Where it's heading

Two threads run in parallel. One widens what can be aligned, with sector facets, ideograms, image point shapes and observation linking. The other keeps rebuilding the foundation, with the S7 migration, repeated renames toward consistent naming, and the deliberate handing of element_polygon() and element_curve() upstream to ggplot2. The renaming is aggressive enough that each recent release soft-deprecates something.

◆ Prediction

With the internals on S7 and the Patch object exported, the next step is most likely stabilising those names rather than another refactor.

S
stochvol
INFRA · APIS
0.0

A Bayesian volatility sampler in its maintenance decade, paying for its own speed

◆ Current state

stochvol runs MCMC for stochastic volatility models, with a C++ sampler underneath an R interface. Five years of releases in this window contain no new models: the work is compiler and dependency compatibility, CRAN check notes, and a steady trickle of corrections to the sampler itself. Its methodological milestone, the Journal of Statistical Software paper, is recorded in a 2021 tag.

◆ Where it's heading

This is what a finished computational package looks like. The formula interface arrived at 3.1.0 and nothing has been added since; what changes is the ground underneath — RcppArmadillo major versions, UBSan checks, error-handling conventions moving from Rf_error to Rcpp::stop for correct memory management. The recurring pattern worth watching is that several releases fix real errors in the sampler's proposal distributions, found by users and by CRAN's own instrumented checks rather than by the maintainer.

◆ Prediction

Nothing in these notes suggests new methodology. Expect the next release when RcppArmadillo or a CRAN check flavour forces one, and treat any bug report against the samplers as the more consequential event.

Alternatives to ggalign and stochvol

Other Infra & APIs 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 ggalign or stochvol.

See all ggalign alternatives → · See all stochvol alternatives →

Recent activity from ggalign and stochvol

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

  1. 5mo agostochvolSampler crash with constant parameters fixed, plus RcppArmadillo 15
  2. 10mo agoggalignalignpatch internals moved to S7; Patch object exported
  3. 11mo agoggalignInternals migrated to S7; ideogram, tags and image shapes
  4. 1y agostochvolTwo CRAN check notes cleared
  5. 1y agoggalignz aesthetic scales and guide collection in borders
  6. 1y agoggalignchannelGrob() draws across facets; ggplot2 3.5.2 fix
  7. 1y agoggalignLayout system declared complete; polar facets and coord_circle()
  8. 1y agoggalignLayouts split into discrete and continuous; linking system added
  9. 1y agostochvolProposal variance corrected in the centered parameterisation
  10. 2y agostochvolCRAN stochvol 3.2.4
  11. 2y agostochvolRolling-window indexing and inverse gamma prior validation fixed
  12. 3y agostochvolCore C++ sampler routines exported for reuse

Frequently asked questions

What is the difference between ggalign and stochvol?

They serve adjacent needs but don't currently overlap on shipped themes. ggalign and stochvol 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 ggalign better than stochvol?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. ggalign and stochvol 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 Infra & APIs products to evaluate alongside.

What are the best alternatives to ggalign?

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

What are the best alternatives to stochvol?

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