← Back to home
Comparison · Analytics

distributions3 vs units

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

distributions3 vs units: at a glance

Featuredistributions3units
SectorAnalyticsAnalytics
Velocity score2.50.0
Sparks · 30d00
Top themesr-package, probability-distributions, statistical-modelling, maintainershipmeasurement units, r package, udunits2, breaking parser change
Last editorial update50m ago4h ago
WebsiteVisit →Visit →

What is distributions3?

distributions3 changes hands to Achim Zeileis, and a moment calculation bug goes with it.

An R package giving probability distributions a consistent object interface — d/p/q/r functions, moments, and prodist() methods that extract a fitted distribution from a regression object. Releases are infrequent, roughly one a year, and the last one is largely administrative: Achim Zeileis takes over maintenance from Alex Hayes, with all URLs and documentation updated to match, alongside a fix to incorrect moment calculations reported by a user.

Read the full distributions3 trajectory →

What is units?

units reaches 1.0 by rewriting its parser and accepting the breakage that comes with it.

units attaches physical units to R vectors on top of the udunits2 library, covering arithmetic, conversion and ggplot2 scales. Version 1.0-0 replaced the unit-expression tokenizer so numbers are consistently treated as prefixes, and expressions like ml/min/1.73m^2 now parse the way physiologists write them. Printing follows NIST conventions, and 1.0-1 is a fix pass over memory handling and parser edge cases.

Read the full units trajectory →

distributions3 vs units: editorial side-by-side

D2.5

distributions3 changes hands to Achim Zeileis, and a moment calculation bug goes with it.

◆ Current state

An R package giving probability distributions a consistent object interface — d/p/q/r functions, moments, and prodist() methods that extract a fitted distribution from a regression object. Releases are infrequent, roughly one a year, and the last one is largely administrative: Achim Zeileis takes over maintenance from Alex Hayes, with all URLs and documentation updated to match, alongside a fix to incorrect moment calculations reported by a user.

◆ Where it's heading

The package's growth has come in two modes. Early releases absorbed whole families of distributions from outside contributors — the extreme-value set, Erlang, later the Poisson binomial — while later ones tightened the interface itself with is_discrete() and is_continuous() generics and elementwise type-safety when applying a distribution vector to a numeric vector. The handover is the notable event in the current window: maintenance moves to the author of the surrounding statistical ecosystem this package already integrates with through prodist() and countreg, which suggests the interface work will continue over the distribution-collection work.

◆ Prediction

Expect closer alignment with Zeileis's own packages, with prodist() coverage widening to more model classes; the entries here do not indicate whether new distribution families remain on the agenda.

U
units
ANALYTICS
0.0

units reaches 1.0 by rewriting its parser and accepting the breakage that comes with it.

◆ Current state

units attaches physical units to R vectors on top of the udunits2 library, covering arithmetic, conversion and ggplot2 scales. Version 1.0-0 replaced the unit-expression tokenizer so numbers are consistently treated as prefixes, and expressions like ml/min/1.73m^2 now parse the way physiologists write them. Printing follows NIST conventions, and 1.0-1 is a fix pass over memory handling and parser edge cases.

◆ Where it's heading

The long 0.8-x run was accretion — ggplot2 scales absorbed from ggforce, ud_convert(), matrix methods, steady performance work — while known parsing defects stayed in place. The 1.0 release finally traded backwards compatibility for correct parsing, and 1.0-1's pointer-wrapping and exception-propagation work suggests the C++ glue is being hardened behind it. Fixes cluster at the udunits2 boundary, which remains the main source of surprises.

◆ Prediction

Expect continued patch releases against udunits2 quirks and the new tokenizer's fallout rather than new surface area, with the ggplot2 integration and conversion helpers already in place.

Alternatives to distributions3 and units

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 distributions3 or units.

See all distributions3 alternatives → · See all units alternatives →

Recent activity from distributions3 and units

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

  1. 24d agodistributions3Maintenance moves to Achim Zeileis; moment calculations corrected
  2. 5mo agounitsMemory-leak and udunits2 parsing fixes after 1.0
  3. 10mo agodistributions3ggplot2 compatibility for the plotting functions
  4. 10mo agounitsNew tokenizer parses compound units correctly
  5. 1y agounitsCopy semantics fix in ud_convert(); C++17 for old R
  6. 1y agounitscbind/rbind methods, ud_convert() and broad fixes
  7. 1y agounitsSilences a CRAN compiler warning
  8. 1y agodistributions3Poisson binomial distribution, with a normal-approximation fallback
  9. 2y agounitsRestores simplify=FALSE for identical units
  10. 3y agodistributions3is_discrete and is_continuous generics, plus elementwise type-safety
  11. 4y agodistributions3Extreme-value family, Erlang, and a plotting generic

Frequently asked questions

What is the difference between distributions3 and units?

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

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

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

What are the best alternatives to units?

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