← Back to home
Comparison · Analytics

affiner vs hstats

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

affiner vs hstats: at a glance

Featureaffinerhstats
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesr-package, computational-geometry, grid-graphics, affine-transformsinteraction statistics, partial dependence, model explainability, r package
Last editorial update58m ago5h ago
WebsiteVisit →Visit →

What is affiner?

affiner is quietly turning a grid transformation helper into a small computational geometry library.

An R package that began as a wrapper around grid's affine transformation primitives, with an angle vector class supporting degrees, radians, half-turns, turns and gradians so users need not convert by hand. Four releases in roughly eighteen months. The recent two have expanded well past that starting point into geometric objects and the predicates that operate on them.

Read the full affiner 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 →

affiner vs hstats: editorial side-by-side

A
affiner
ANALYTICS
0.0

affiner is quietly turning a grid transformation helper into a small computational geometry library.

◆ Current state

An R package that began as a wrapper around grid's affine transformation primitives, with an angle vector class supporting degrees, radians, half-turns, turns and gradians so users need not convert by hand. Four releases in roughly eighteen months. The recent two have expanded well past that starting point into geometric objects and the predicates that operate on them.

◆ Where it's heading

The direction is clear from the order things arrived. Version 0.2.1 added the predicate layer first — has_intersection(), intersection(), is_equivalent() and is_parallel() as S3 generics working across angle vectors, points, lines and planes. Version 0.3.1 then supplied the objects those generics need, with Ellipse2D, Polygon2D and Segment2D R6 classes plus constructors for rectangles, regular n-gons and isotoxal star polygons, and dot products at one, two and three dimensions. Building the operations before the shapes is unusual ordering but it means each new object type arrives already composable with everything else.

◆ Prediction

Expect more 2D and 3D object types filling out the same generic interface, and the geometry side to keep outgrowing the grid-transformation wrapper the package was named for.

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

See all affiner alternatives → · See all hstats alternatives →

Recent activity from affiner and hstats

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

  1. 3mo agoaffinerEllipse, polygon and segment objects, with star and n-gon constructors
  2. 6mo agoaffinerIntersection, equivalence and parallelism generics across geometric types
  3. 10mo agohstatsggplot 4.0 compatibility and test coverage
  4. 1y agoaffinerIsocube border fill forced transparent
  5. 1y agoaffinerInitial release: affine grob wrappers and multi-unit angle vectors
  6. 1y agohstatsranger survival models supported out of the box
  7. 2y agohstatsMoves to ModelOriented; factor predictions removed
  8. 2y agohstatsICE facets for multioutput models; mlr3 fixes
  9. 2y agohstatsFaster data.frame paths; NaN H-statistics fixed
  10. 2y agohstatsFactor predictions and line-style 2D partial dependence

Frequently asked questions

What is the difference between affiner and hstats?

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

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

Top affiner alternatives in Analytics are ranked by recent ship velocity. Browse the "affiner alternatives" section above for the current picks, or visit /alternatives/affiner-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.