← Back to home
Comparison · Analytics

quantities vs redist

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

quantities vs redist: at a glance

Featurequantitiesredist
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesunits, measurement-uncertainty, error-propagation, r-packager, redistricting, monte-carlo, sampling
Last editorial update1h ago4h ago
WebsiteVisit →Visit →

What is quantities?

The glue package that makes R carry units and uncertainty through the same calculation.

quantities combines the units and errors packages into one class so values keep both their measurement units and their uncertainty through arithmetic, subsetting and data frame operations. Recent releases have been narrow: fixes to the covariance and correlation implementations, and performance work on the data.frame methods. Most of the release traffic is coordination with its two parent packages.

Read the full quantities trajectory →

What is redist?

redist keeps rewriting the sampler underneath a district-drawing API it has held stable since 4.0.

redist simulates redistricting plans via sequential Monte Carlo, merge-split MCMC and short-burst optimization, and it is the analysis tool behind a good deal of published districting work. The user-facing shape was set by 4.0.1's constraint interface and the split of metrics into the redistmetrics package; since then the changes are in the algorithms. The most consequential recent one replaces the SMC label-counting adjustment with a backward kernel that removes approximation error outright.

Read the full redist trajectory →

quantities vs redist: editorial side-by-side

Q
quantities
ANALYTICS
0.0

The glue package that makes R carry units and uncertainty through the same calculation.

◆ Current state

quantities combines the units and errors packages into one class so values keep both their measurement units and their uncertainty through arithmetic, subsetting and data frame operations. Recent releases have been narrow: fixes to the covariance and correlation implementations, and performance work on the data.frame methods. Most of the release traffic is coordination with its two parent packages.

◆ Where it's heading

The design settled with 0.2.0, which made uncertainty unit-aware and added correlation and covariance support for quantities objects. Since then the package behaves like the integration layer it is — releasing when units, errors, dplyr or ggplot2 shift underneath it rather than on its own schedule. Several releases consist only of test repairs against upstream changes.

◆ Prediction

Expect the next release to follow a units or errors change rather than introduce new behaviour of its own.

R
redist
ANALYTICS
0.0

redist keeps rewriting the sampler underneath a district-drawing API it has held stable since 4.0.

◆ Current state

redist simulates redistricting plans via sequential Monte Carlo, merge-split MCMC and short-burst optimization, and it is the analysis tool behind a good deal of published districting work. The user-facing shape was set by 4.0.1's constraint interface and the split of metrics into the redistmetrics package; since then the changes are in the algorithms. The most consequential recent one replaces the SMC label-counting adjustment with a backward kernel that removes approximation error outright.

◆ Where it's heading

The direction is toward exactness and throughput at once — the new kernel is described as both eliminating approximation error and costing far less computation, and successive releases keep adding parallelism, most recently to the flip algorithm. Feature growth has moved into the optimization side, where short-burst gained multiple independent scorers and a Pareto frontier. The release notes are not a reliable ledger: 4.3.1 ships the identical text as 4.3.0.

◆ Prediction

Expect the remaining single-threaded algorithms to gain the chains-style parallelism that flip just received, following the pattern SMC established several releases ago.

Alternatives to quantities and redist

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 quantities or redist.

See all quantities alternatives → · See all redist alternatives →

Recent activity from quantities and redist

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

  1. 6mo agoredistParallel chains for redist_flip()
  2. 6mo agoredistPatch release reusing the 4.3.0 notes
  3. 10mo agoredistSMC backward kernel removes label-counting approximation error
  4. 1y agoquantitiesFixes covariance and correlation implementations
  5. 2y agoquantitiesFaster data.frame methods
  6. 2y agoredistMulti-objective short-burst search with Pareto frontier
  7. 3y agoquantitiesTest fixes for an upstream units change
  8. 3y agoredistredist_ci interface and faster loop-erased random walk
  9. 3y agoquantitiesUncertainty becomes unit-aware; adds correlation support
  10. 4y agoredistredist_constr() unifies constraints and admits user-defined ones
  11. 5y agoquantitiesCompatibility fix for units 0.7-0
  12. 6y agoquantitiesFixes uncertainty propagation for offset unit conversions

Frequently asked questions

What is the difference between quantities and redist?

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

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

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

What are the best alternatives to redist?

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