← Back to home
Comparison · Analytics

affiner vs shapviz

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

affiner vs shapviz: at a glance

Featureaffinershapviz
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesr-package, computational-geometry, grid-graphics, affine-transformsshap, visualization, model explainability, ggplot2
Last editorial update1h 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 shapviz?

shapviz refines its SHAP plots release by release while chasing ggplot2's moving target.

shapviz turns SHAP values from XGBoost, LightGBM, H2O, kernelshap and other sources into standard diagnostic plots — importance, dependence, waterfall, force and interaction. Recent work is plot ergonomics: shared y-axis control across dependence plots, a bar view for interaction values, and axis collection via patchwork. The two most recent releases are pure compatibility and bug fixes.

Read the full shapviz trajectory →

affiner vs shapviz: 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.

S
shapviz
ANALYTICS
0.0

shapviz refines its SHAP plots release by release while chasing ggplot2's moving target.

◆ Current state

shapviz turns SHAP values from XGBoost, LightGBM, H2O, kernelshap and other sources into standard diagnostic plots — importance, dependence, waterfall, force and interaction. Recent work is plot ergonomics: shared y-axis control across dependence plots, a bar view for interaction values, and axis collection via patchwork. The two most recent releases are pure compatibility and bug fixes.

◆ Where it's heading

Two threads run in parallel here. One is visual refinement converging on conventions from Python's shap — the 0.10.0 notes openly float switching share_y to TRUE to match it. The other is connector maintenance, keeping pace with H2O, XGBoost 1.x and 2.x, shapr and permshap as each changes. Neither thread adds new explanation methods; shapviz's job is presentation, and it is being polished rather than extended.

◆ Prediction

Expect share_y = TRUE to become the default and further ggplot2 4.x fallout, with connector updates arriving as the upstream SHAP packages release.

Alternatives to affiner and shapviz

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 shapviz.

See all affiner alternatives → · See all shapviz alternatives →

Recent activity from affiner and shapviz

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 agoshapvizggplot 4.0 compatibility fix
  4. 1y agoshapvizFixes duplicated bars in sv_interaction()
  5. 1y agoshapvizggplot2 and patchwork dependency bumps
  6. 1y agoshapvizShared y-axis control and bar-style interaction plots
  7. 1y agoshapvizH2O random forests gain TreeSHAP support
  8. 1y agoaffinerIsocube border fill forced transparent
  9. 1y agoaffinerInitial release: affine grob wrappers and multi-unit angle vectors
  10. 1y agoshapvizFixes a broken vignette link

Frequently asked questions

What is the difference between affiner and shapviz?

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

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

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