← Back to home
Comparison · Analytics

cfrnow vs collapse

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

Shared themes:r-package

cfrnow vs collapse: at a glance

Featurecfrnowcollapse
SectorAnalyticsAnalytics
Velocity score5.00.0
Sparks · 30d00
Top themesepidemiology, bayesian-modelling, cfr-estimation, r-packagedata-transformation, performance, simd, grouped-statistics
Last editorial update5h ago1h ago
WebsiteVisit →Visit →

What is cfrnow?

A Bayesian real-time CFR estimator that now ships stratified fits and posterior-predictive checks

cfrnow estimates case fatality ratios from line-list data while an outbreak is still running, using a Bayesian mixture-cure survival model registered as an `epidist` model type. Three releases in a month took it from first public release to stratified, partially-pooled fits with posterior-predictive checking. It leans on `distspec` for delay parameterisation, which reached CRAN alongside the 0.2.1 patch.

Read the full cfrnow trajectory →

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 →

cfrnow vs collapse: editorial side-by-side

C
cfrnow
ANALYTICS
5.0

A Bayesian real-time CFR estimator that now ships stratified fits and posterior-predictive checks

◆ Current state

cfrnow estimates case fatality ratios from line-list data while an outbreak is still running, using a Bayesian mixture-cure survival model registered as an `epidist` model type. Three releases in a month took it from first public release to stratified, partially-pooled fits with posterior-predictive checking. It leans on `distspec` for delay parameterisation, which reached CRAN alongside the 0.2.1 patch.

◆ Where it's heading

The arc runs from producing a single corrected CFR number toward supporting a full model-checking workflow. 0.2.0 added the pieces a modeller needs to defend an estimate: replicate line lists replayed through the real-time truncation, an ascertainment-ratio correction for when fatal and non-fatal cases enter the line list at different rates, and per-group CFRs from `brms` formulas. Delay coverage widened from LogNormal and Gamma to Weibull in the same release.

◆ Prediction

Expect the next release to keep widening covariate and pooling support rather than adding new outcome types, since every 0.2.0 addition extended the existing formula interface instead of replacing it.

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.

Alternatives to cfrnow and collapse

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

See all cfrnow alternatives → · See all collapse alternatives →

Recent activity from cfrnow and collapse

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

  1. 5d agocfrnowdistspec dependency moves to CRAN
  2. 5d agocfrnowStratified CFR fits, Weibull delays, posterior-predictive checks
  3. 1mo agocfrnowFirst release: real-time CFR from a Bayesian mixture-cure model
  4. 2mo agocollapseSIMD accumulators give fmean a 7x speedup without OpenMP
  5. 7mo agocollapseNegative zero now hashes equal to zero across the package
  6. 8mo agocollapsecollap() no longer double-aggregates external weights
  7. 9mo agocollapseCustom unlist() preserves attributes
  8. 0y agocollapseAssorted bug fixes
  9. 1y agocollapsena_insert gains by-reference mode; gsplit and pivot speed up

Frequently asked questions

What is the difference between cfrnow and collapse?

Both compete on the same themes — r-package — within Analytics. cfrnow is currently shipping more aggressively (velocity 5.0 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 cfrnow better than collapse?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. cfrnow is currently shipping more aggressively (velocity 5.0 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 cfrnow?

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

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.