← Back to home
Comparison · Analytics

distributions3 vs maplegend

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

Shared themes:r-package

distributions3 vs maplegend: at a glance

Featuredistributions3maplegend
SectorAnalyticsAnalytics
Velocity score6.30.0
Sparks · 30d10
Top themesr-package, probability-distributions, empirical-distributions, likelihood-inferencecartography, legends, base-graphics, spatial
Last editorial update5h ago5d ago
WebsiteVisit →Visit →

What is distributions3?

distributions3 0.3.0 adds sample-based distributions and likelihood derivatives

An R package giving probability distributions a consistent object interface - d/p/q/r functions, moments, and prodist() methods that pull a fitted distribution out of a regression object. Version 0.3.0 is the first substantive release under Achim Zeileis's maintenance, and it widens what a distribution is allowed to be: Empirical() represents a distribution by a random sample rather than by parameters, and numerical fallbacks now fill in cdf(), pdf(), quantile(), random() and the moments for any object that implements only some of them. New score() and hessian() generics compute first and second derivatives of the log-likelihood with respect to the parameters, analytically for a few distributions and numerically for the rest.

Read the full distributions3 trajectory →

What is maplegend?

The legend engine mapsf spun out, now covering legend types the parent map package can draw.

maplegend draws the legends for base-R thematic maps, extracted from mapsf so both packages could evolve the legend vocabulary independently. It has been catching up to the map types it has to serve: 0.6.0 added choro_point, choro_line, and choro_symb for choropleth legends rendered on circles, lines, and symbols, following the histogram legend type in 0.4.0. Considerable effort has gone into behaving correctly when the plot aspect ratio is not 1, which required refactoring most of the package in 0.4.0 and still produced a proportional-symbol segment sizing fix in 0.6.3.

Read the full maplegend trajectory →

distributions3 vs maplegend: editorial side-by-side

D6.3

distributions3 0.3.0 adds sample-based distributions and likelihood derivatives

◆ Current state

An R package giving probability distributions a consistent object interface - d/p/q/r functions, moments, and prodist() methods that pull a fitted distribution out of a regression object. Version 0.3.0 is the first substantive release under Achim Zeileis's maintenance, and it widens what a distribution is allowed to be: Empirical() represents a distribution by a random sample rather than by parameters, and numerical fallbacks now fill in cdf(), pdf(), quantile(), random() and the moments for any object that implements only some of them. New score() and hessian() generics compute first and second derivatives of the log-likelihood with respect to the parameters, analytically for a few distributions and numerically for the rest.

◆ Where it's heading

Growth used to arrive as new distribution families contributed from outside - the extreme-value set, Erlang, later the Poisson binomial. This release changes the axis: alongside two new distributions it adds an inference layer (score, hessian) and a forecast-evaluation one (crps() methods against scoringRules), which are capabilities about distributions rather than more of them. Dependency weight is being cut at the same time, with ggplot2 demoted to Suggests and glue replaced by base R sprintf().

◆ Prediction

With numeric fallbacks and the derivative generics in place, expect analytic score() and hessian() methods to be filled in across more of the distribution catalogue. The constructor-default change is the likeliest source of follow-up fixes, since calls like Poisson() now return a length-zero distribution where they previously errored.

M
maplegend
ANALYTICS
0.0

The legend engine mapsf spun out, now covering legend types the parent map package can draw.

◆ Current state

maplegend draws the legends for base-R thematic maps, extracted from mapsf so both packages could evolve the legend vocabulary independently. It has been catching up to the map types it has to serve: 0.6.0 added choro_point, choro_line, and choro_symb for choropleth legends rendered on circles, lines, and symbols, following the histogram legend type in 0.4.0. Considerable effort has gone into behaving correctly when the plot aspect ratio is not 1, which required refactoring most of the package in 0.4.0 and still produced a proportional-symbol segment sizing fix in 0.6.3.

◆ Where it's heading

This is a support library whose backlog is defined by its caller. Every legend type mapsf can produce needs a matching legend renderer, and the release notes are dominated by spacing, offset, and border details — box_cex for symbol spacing, NA box placement in horizontal choropleth legends, text overflow when no_data is set. The shared vocabulary with mapsf is being maintained deliberately, with val_rnd, val_big, and val_dec propagating through legend types release by release. Version numbering is not monotonic in this feed, with 0.4.0 published seconds after 0.5.0.

◆ Prediction

Expect the remaining combined map types to acquire matching legends and the val_* formatting arguments to reach the types that still lack them.

Alternatives to distributions3 and maplegend

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 distributions3 or maplegend.

See all distributions3 alternatives → · See all maplegend alternatives →

Recent activity from distributions3 and maplegend

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

  1. 6h agodistributions3Empirical distributions, plus score and hessian generics
  2. 29d agodistributions3Maintenance moves to Achim Zeileis; moment calculations corrected
  3. 3mo agomaplegendContinuous legend formatting and aspect-ratio segment fix
  4. 4mo agomaplegendChoropleth legends on points, lines and symbols
  5. 7mo agomaplegendPackage-wide refactor for non-unity aspect ratios, histogram legends
  6. 7mo agomaplegendSingle-modality legends allowed for typo, symb and prop_line
  7. 10mo agodistributions3ggplot2 compatibility for the plotting functions
  8. 1y agomaplegendAlpha transparency and redraw on device resize
  9. 1y agomaplegendOffset and symbol sizing aligned with mapsf
  10. 1y agodistributions3Poisson binomial distribution, with a normal-approximation fallback
  11. 3y agodistributions3is_discrete and is_continuous generics, plus elementwise type-safety
  12. 4y agodistributions3Extreme-value family, Erlang, and a plotting generic

Frequently asked questions

What is the difference between distributions3 and maplegend?

Both compete on the same themes — r-package — within Analytics. distributions3 is currently shipping more aggressively (velocity 6.3 vs 0.0), with 1 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is distributions3 better than maplegend?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. distributions3 is currently shipping more aggressively (velocity 6.3 vs 0.0), with 1 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to distributions3?

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

What are the best alternatives to maplegend?

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