← Back to home
Comparison · Analytics

collapse vs rstatix

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

collapse vs rstatix: at a glance

Featurecollapserstatix
SectorAnalyticsAnalytics
Velocity score0.02.5
Sparks · 30d00
Top themesdata-transformation, performance, simd, grouped-statisticsstatistics, r, effect sizes, confidence intervals
Last editorial update1h ago3h 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 rstatix?

rstatix hit 1.0 by unrounding every p-value it has ever returned

rstatix is the pipe-friendly test wrapper behind most ggpubr annotation workflows — t-tests, Wilcoxon, ANOVA, post-hoc comparisons, effect sizes, all returning tidy data frames. After three quiet years of CRAN-compat patching, it shipped 1.0.0 and 1.1.0 three weeks apart in mid-2026. Both releases push in the same direction: interval estimates and full-precision output for numbers the package previously rounded or omitted.

Read the full rstatix trajectory →

collapse vs rstatix: 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.

R
rstatix
ANALYTICS
2.5

rstatix hit 1.0 by unrounding every p-value it has ever returned

◆ Current state

rstatix is the pipe-friendly test wrapper behind most ggpubr annotation workflows — t-tests, Wilcoxon, ANOVA, post-hoc comparisons, effect sizes, all returning tidy data frames. After three quiet years of CRAN-compat patching, it shipped 1.0.0 and 1.1.0 three weeks apart in mid-2026. Both releases push in the same direction: interval estimates and full-precision output for numbers the package previously rounded or omitted.

◆ Where it's heading

The work is about matching what dedicated effect-size packages give you without taking on their dependencies. Confidence intervals for partial eta squared and for Cohen's d are both computed in base R from noncentral distributions and both check against effectsize; compact letter displays are computed in base R against multcompView. The pattern is deliberate — reproduce the reference implementation, add no imports. Alongside that, the package has started correcting statistical hygiene it got wrong for years, most visibly by no longer rounding p-values before adjusting them.

◆ Prediction

The analytic-interval machinery now exists for eta squared and Cohen's d; the untouched effect sizes in the package — eta squared for nonparametric tests, Cramer's V, rank-biserial correlation — are the obvious next targets for the same base-R noncentral treatment.

Alternatives to collapse and rstatix

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

See all collapse alternatives → · See all rstatix alternatives →

Recent activity from collapse and rstatix

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

  1. 22d agorstatixrstatix 1.1.0 gives Cohen's d a deterministic confidence interval
  2. 1mo agorstatixrstatix 1.0.0 stops rounding p-values before adjusting them
  3. 2mo agocollapseSIMD accumulators give fmean a 7x speedup without OpenMP
  4. 7mo agocollapseNegative zero now hashes equal to zero across the package
  5. 8mo agocollapsecollap() no longer double-aggregates external weights
  6. 9mo agocollapseCustom unlist() preserves attributes
  7. 9mo agorstatixrstatix 0.7.3
  8. 0y agocollapseAssorted bug fixes
  9. 1y agocollapsena_insert gains by-reference mode; gsplit and pivot speed up
  10. 3y agorstatixrstatix 0.7.2
  11. 3y agorstatixrstatix 0.7.1
  12. 5y agorstatixrstatix 0.7.0

Frequently asked questions

What is the difference between collapse and rstatix?

They serve adjacent needs but don't currently overlap on shipped themes. rstatix is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is collapse better than rstatix?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. rstatix is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. 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 rstatix?

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