← Back to home
Comparison · Analytics

constants vs hstats

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

constants vs hstats: at a glance

Featureconstantshstats
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesphysical-constants, codata, units, uncertainty-propagationinteraction statistics, partial dependence, model explainability, r package
Last editorial update1h ago11h ago
WebsiteVisit →Visit →

What is constants?

The R package for CODATA constants rebuilt its symbol table on NIST's naming so future updates stop being hand work.

constants exposes the CODATA recommended values of the physical constants to R, as a data frame plus symbol lists that carry units, uncertainties, or both. The package reached 1.0.0 on the 2018 CODATA release and has shipped once since, purely to track a units package update. Its surface is small and its release cadence is bound to CODATA, which revises every few years.

Read the full constants trajectory →

What is hstats?

hstats settled into maintenance after its 1.0 restructuring, with model coverage the only thing still growing.

hstats computes Friedman's H-statistics, partial dependence, ICE curves and permutation importance for any model exposing a prediction function. The releases in view are consolidation: performance work on plain data.frames, ICE facetting for multioutput models, ranger survival support, and a ggplot 4.0 compatibility pass in 2025. The package moved to the ModelOriented organisation in 1.2.0.

Read the full hstats trajectory →

constants vs hstats: editorial side-by-side

C
constants
ANALYTICS
0.0

The R package for CODATA constants rebuilt its symbol table on NIST's naming so future updates stop being hand work.

◆ Current state

constants exposes the CODATA recommended values of the physical constants to R, as a data frame plus symbol lists that carry units, uncertainties, or both. The package reached 1.0.0 on the 2018 CODATA release and has shipped once since, purely to track a units package update. Its surface is small and its release cadence is bound to CODATA, which revises every few years.

◆ Where it's heading

The direction set at 1.0.0 was to stop being a curated convenience wrapper and become a mechanical mirror of NIST. Hand-crafted symbol names were replaced with NIST's own ASCII symbols, categories adopted NIST's, and uncertainty switched from relative to absolute — all framed by the maintainer as necessary to make future CODATA updates routine. On top of that the package gained a correlation matrix and optional integration with the quantities package, moving it from a lookup table toward something that can propagate uncertainty.

◆ Prediction

Having rebuilt the symbol table specifically so CODATA revisions become mechanical, the next substantive release most likely tracks a new CODATA dataset rather than adding API. The experimental correlated-value support, disabled by default at 1.0.0, is the one part these entries flag as unfinished.

H
hstats
ANALYTICS
0.0

hstats settled into maintenance after its 1.0 restructuring, with model coverage the only thing still growing.

◆ Current state

hstats computes Friedman's H-statistics, partial dependence, ICE curves and permutation importance for any model exposing a prediction function. The releases in view are consolidation: performance work on plain data.frames, ICE facetting for multioutput models, ranger survival support, and a ggplot 4.0 compatibility pass in 2025. The package moved to the ModelOriented organisation in 1.2.0.

◆ Where it's heading

The structural work — the hstats_matrix object, quantile approximation, revised plotting — landed in 1.0.0 just outside this window, and nothing since has changed the package's shape. What continues is model-coverage plumbing: mlr3 classification modes, ranger survival behind a survival argument, and factor predictions added in 1.1.0 then removed again in 1.2.0. The most recent releases are compatibility-driven, tracking ggplot2 rather than the interaction statistics.

◆ Prediction

Expect the next release to be another dependency-compatibility pass or a new model backend working out of the box, rather than new interaction statistics.

Alternatives to constants and hstats

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 constants or hstats.

See all constants alternatives → · See all hstats alternatives →

Recent activity from constants and hstats

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

  1. 10mo agohstatsggplot 4.0 compatibility and test coverage
  2. 1y agohstatsranger survival models supported out of the box
  3. 2y agohstatsMoves to ModelOriented; factor predictions removed
  4. 2y agohstatsICE facets for multioutput models; mlr3 fixes
  5. 2y agohstatsFaster data.frame paths; NaN H-statistics fixed
  6. 2y agohstatsFactor predictions and line-style 2D partial dependence
  7. 5y agoconstantsCompatibility fix for units 0.7-0
  8. 5y agoconstantsconstants 1.0.0
  9. 8y agoconstantsUnit handling fixes ahead of the 1.0.0 rebuild

Frequently asked questions

What is the difference between constants and hstats?

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

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

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

What are the best alternatives to hstats?

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