← Back to home
Comparison · Analytics

discrim vs ggraph

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

discrim vs ggraph: at a glance

Featurediscrimggraph
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themestidymodels, discriminant analysis, parsnip extension, classificationnetwork-visualization, ggplot2, r-stats, maintenance
Last editorial update1h ago48m ago
WebsiteVisit →Visit →

What is discrim?

discrim settled into a thin engine shim after handing its model definitions to parsnip.

discrim is the parsnip extension for discriminant analysis, exposing linear, quadratic, flexible and regularized variants through the tidymodels interface. Its model definition functions moved into parsnip itself in 0.2.0, leaving this package as the engine and prediction layer. The two most recent releases are a documentation fix and a single prediction bug.

Read the full discrim trajectory →

What is ggraph?

ggraph has settled into ggplot2 compatibility duty

ggraph provides the grammar of graphics for network and tree data. Its recent releases are compatibility and bug-fix work — a collapse fix in get_edges() alongside ggplot2 v4.0.0 upkeep, and before that a pipe rollback. The last release with real content was 2.2.0, a long list of layout and edge-geom corrections.

Read the full ggraph trajectory →

discrim vs ggraph: editorial side-by-side

D
discrim
ANALYTICS
0.0

discrim settled into a thin engine shim after handing its model definitions to parsnip.

◆ Current state

discrim is the parsnip extension for discriminant analysis, exposing linear, quadratic, flexible and regularized variants through the tidymodels interface. Its model definition functions moved into parsnip itself in 0.2.0, leaving this package as the engine and prediction layer. The two most recent releases are a documentation fix and a single prediction bug.

◆ Where it's heading

The package built out method coverage early, adding quadratic discriminant analysis in 0.1.2, the sda and sparsediscrim engines in 0.1.3 and case weights in 1.0.0, then stopped growing. Handing definitions upstream to parsnip in 0.2.0 confirmed the shape: discrim is where engines are wired, not where the API lives. Cadence since 2022 is roughly one small fix a year.

◆ Prediction

Nothing in the entries points to new methods or engines; the next release is most likely another CRAN or prediction-path fix.

G
ggraph
ANALYTICS
0.0

ggraph has settled into ggplot2 compatibility duty

◆ Current state

ggraph provides the grammar of graphics for network and tree data. Its recent releases are compatibility and bug-fix work — a collapse fix in get_edges() alongside ggplot2 v4.0.0 upkeep, and before that a pipe rollback. The last release with real content was 2.2.0, a long list of layout and edge-geom corrections.

◆ Where it's heading

The feature surface looks finished and the maintenance is about keeping it working under a moving ggplot2. The one architectural move in this window — pushing dendrogram layout into compiled code to escape R's recursion limits, back in 2.1.0 — was about scaling existing features, not adding new ones.

◆ Prediction

Expect the next release to follow ggplot2 4.0.0 rather than introduce layouts or edge geoms.

Alternatives to discrim and ggraph

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 discrim or ggraph.

See all discrim alternatives → · See all ggraph alternatives →

Recent activity from discrim and ggraph

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

  1. 8mo agodiscrimFix for FDA models failing at prediction time
  2. 11mo agoggraphget_edges() collapse fix and ggplot2 v4 upkeep
  3. 11mo agodiscrimDocumentation links updated to stay on CRAN
  4. 2y agoggraphNative pipe usage rolled back
  5. 2y agoggraphLayout precision and edge geom fixes across the package
  6. 3y agoggraphBinned edge scales and compiled dendrogram layouts
  7. 4y agodiscrimCase weights enabled for flexible and linear discriminant models
  8. 4y agodiscrimModel definitions moved upstream into parsnip
  9. 5y agodiscrimsda and sparsediscrim engines added for LDA and QDA
  10. 5y agodiscrimdiscrim_quad() added; package relicensed to MIT
  11. 5y agoggraphC++11 pinned to fix std::random_shuffle deprecation
  12. 5y agoggraphFaceting and edge geom bug fixes

Frequently asked questions

What is the difference between discrim and ggraph?

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

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

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

What are the best alternatives to ggraph?

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