← Back to home
Comparison · Analytics

collapse vs distributional

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

Shared themes:r-package

collapse vs distributional: at a glance

Featurecollapsedistributional
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesdata-transformation, performance, simd, grouped-statisticsr-package, probability-distributions, distribution-arithmetic, numerical-methods
Last editorial update1h ago46m ago
WebsiteVisit →Visit →

What is collapse?

collapse got a JSS paper and a 7x fmean speedup in the same release.

collapse provides fast grouped statistical computing and data transformation for R, built on a C backend with its own grouping, hashing and aggregation primitives. The 2.1.x line is a maintenance and optimization series: SIMD multiple-accumulator work delivering roughly 2x on fsum() and 7x on fmean() for systems without OpenMP, a custom internal unlist() with better attribute preservation, and a steady stream of correctness fixes in collap(), pivot() and roworderv().

Read the full collapse trajectory →

What is distributional?

distributional taught + and - to work on any pair of distributions, closing the algebra it started with.

The R package providing vectorised distribution objects — the substrate that forecasting and anomaly tooling in the same ecosystem builds on. Cadence has picked up sharply, with four releases in the six months to June 2026 against roughly one a year before that. Two kinds of work alternate: adding distribution families (Dirichlet, Horseshoe, Laplace, multivariate t, g-and-k, the extreme-value pair) and deepening what can be computed generically across all of them.

Read the full distributional trajectory →

collapse vs distributional: editorial side-by-side

C
collapse
ANALYTICS
0.0

collapse got a JSS paper and a 7x fmean speedup in the same release.

◆ Current state

collapse provides fast grouped statistical computing and data transformation for R, built on a C backend with its own grouping, hashing and aggregation primitives. The 2.1.x line is a maintenance and optimization series: SIMD multiple-accumulator work delivering roughly 2x on fsum() and 7x on fmean() for systems without OpenMP, a custom internal unlist() with better attribute preservation, and a steady stream of correctness fixes in collap(), pivot() and roworderv().

◆ Where it's heading

The package is consolidating institutionally as much as technically. The repository moved to the fastverse organization with multiple people granted access, the Journal of Statistical Software paper landed as the primary citation, and documentation now includes an AI-generated interactive layer. Technically the focus is the hashing and grouping core — the decision to treat -0 and 0 as equal across funique(), group(), fmatch(), fmode() and their derivatives was made in sync with an equivalent change in Rcpp, and accepted a measured 3% cost to get it. The last release with breaking changes sits outside this six-entry window.

◆ Prediction

Expect further targeted performance work on the grouped statistical functions and continued small correctness fixes; the governance move to fastverse suggests contribution volume rather than direction is what the maintainer is managing.

D0.0

distributional taught + and - to work on any pair of distributions, closing the algebra it started with.

◆ Current state

The R package providing vectorised distribution objects — the substrate that forecasting and anomaly tooling in the same ecosystem builds on. Cadence has picked up sharply, with four releases in the six months to June 2026 against roughly one a year before that. Two kinds of work alternate: adding distribution families (Dirichlet, Horseshoe, Laplace, multivariate t, g-and-k, the extreme-value pair) and deepening what can be computed generically across all of them.

◆ Where it's heading

The generic-computation thread is the one that matters and it has been building steadily: a Monte Carlo default method for cdf(), has_symmetry() to let algorithms specialise, hdr() moving to exact results for symmetric distributions and 4096 quantiles elsewhere, open-versus-closed support intervals. Version 0.8.0 is where that thread arrives somewhere — arithmetic on arbitrary distributions, with closed forms used when they exist and numerical convolution when they do not. The package is positioning itself as a computational layer rather than a catalogue, which is consistent with how weird and the forecasting packages consume it.

◆ Prediction

Expect the numerical machinery behind dist_convolved() to be reused for other operators, and more generics like has_symmetry() that let downstream algorithms take exact paths when a distribution supports them.

Alternatives to collapse and distributional

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 collapse or distributional.

See all collapse alternatives → · See all distributional alternatives →

Recent activity from collapse and distributional

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

  1. 1mo agodistributionalConditional S3 registration so the package loads on R before 4.3
  2. 1mo agodistributionalDistribution arithmetic: FFT convolution behind the + and - operators
  3. 2mo agodistributionalVectorised p in quantile() for inflated distributions; open brackets on infinite bounds
  4. 2mo agocollapseSIMD accumulators give fmean a 7x speedup without OpenMP
  5. 5mo agodistributionalDirichlet and Horseshoe distributions added
  6. 7mo agodistributionalhas_symmetry() generic, exact HDRs for symmetric distributions
  7. 7mo agocollapseNegative zero now hashes equal to zero across the package
  8. 8mo agocollapsecollap() no longer double-aggregates external weights
  9. 9mo agocollapseCustom unlist() preserves attributes
  10. 0y agocollapseAssorted bug fixes
  11. 1y agocollapsena_insert gains by-reference mode; gsplit and pivot speed up
  12. 1y agodistributionalMonte Carlo cdf() default method; g-and-k, g-and-h and extreme-value families

Frequently asked questions

What is the difference between collapse and distributional?

Both compete on the same themes — r-package — within Analytics. collapse and distributional 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 collapse better than distributional?

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

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

What are the best alternatives to distributional?

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