← Back to home
Comparison · Analytics

discrim vs scales

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

discrim vs scales: at a glance

Featurediscrimscales
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themestidymodels, discriminant analysis, parsnip extension, classificationr, ggplot2, data-visualization, axis-labels
Last editorial update1h ago4h 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 scales?

scales keeps widening what ggplot2 can put on an axis.

scales supplies the breaks, labels and transformations behind ggplot2's axes and legends. Unlike much of the tidyverse infrastructure around it, it still ships genuine feature work each release: native timespan handling in 1.3.0, then custom range-training classes and label_glue() in 1.4.0.

Read the full scales trajectory →

discrim vs scales: 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.

S
scales
ANALYTICS
0.0

scales keeps widening what ggplot2 can put on an axis.

◆ Current state

scales supplies the breaks, labels and transformations behind ggplot2's axes and legends. Unlike much of the tidyverse infrastructure around it, it still ships genuine feature work each release: native timespan handling in 1.3.0, then custom range-training classes and label_glue() in 1.4.0.

◆ Where it's heading

The arc runs toward extensibility and type coverage. First came built-in support for awkward types like difftime and hms; 1.4.0 inverts that by letting any third-party class participate in range training simply by implementing range() or levels(). Labelling is getting more expressive rather than merely more numerous.

◆ Prediction

Expect continued type-support and labelling work, with extension points that let downstream packages plug in their own classes instead of scales enumerating every one.

Alternatives to discrim and scales

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

See all discrim alternatives → · See all scales alternatives →

Recent activity from discrim and scales

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

  1. 8mo agodiscrimFix for FDA models failing at prediction time
  2. 11mo agodiscrimDocumentation links updated to stay on CRAN
  3. 1y agoscalesscales 1.4.0 opens range training to custom classes
  4. 2y agoscalesscales 1.3.0 makes timespans first-class on axes
  5. 3y agoscalesscales 1.2.1 re-documents to fix .Rd HTML issues
  6. 4y agodiscrimCase weights enabled for flexible and linear discriminant models
  7. 4y agoscalesscales 1.2.0 fixes currency sign order and adds scale_cut
  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. 6y agoscalesscales 1.1.1 fixes palette inversion and adds oob_keep()
  12. 6y agoscalesscales 1.1.0 reorganises breaks and labels into a naming scheme

Frequently asked questions

What is the difference between discrim and scales?

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

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

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