← Back to home
Comparison · Infra & APIs

afcharts vs smam

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

afcharts vs smam: at a glance

Featureafchartssmam
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesdata-visualisation, government-statistics, ggplot2, colour-palettesanimal-movement, stochastic-processes, state-space-models, rcpp
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is afcharts?

UK government chart styling in ggplot2, chasing ggplot2 v4 and stretching its palette to five.

afcharts supplies the UK Analysis Function's chart styling for ggplot2, as a theme, colour and fill scales, and a use_afcharts() call that applies the styling globally. Version 0.5.1 extends the sequential palette to five shades so it can carry quintile data such as deprivation bands, renames the na_colour argument to na.value, and adds a reset argument to switch the styling back off. The package began as a first release derived from sgplot and has had three releases in roughly two years.

Read the full afcharts trajectory →

What is smam?

Animal-movement models in R, where new stochastic processes arrive years apart.

smam fits statistical models of animal movement, covering moving-resting processes with and without measurement error, moving-resting-handling, and moving-moving processes, with simulation, point estimation and variance estimation for each. The last three releases are pure upkeep: guarding Rf_error calls after an Rcpp update, a maintainer email change, and a compiler warning fix. The substantive work in this window is 0.7.0, which added estimate and vcov generics across all fit functions, and 0.6.0, which added the moving-moving process.

Read the full smam trajectory →

afcharts vs smam: editorial side-by-side

A
afcharts
INFRA · APIS
0.0

UK government chart styling in ggplot2, chasing ggplot2 v4 and stretching its palette to five.

◆ Current state

afcharts supplies the UK Analysis Function's chart styling for ggplot2, as a theme, colour and fill scales, and a use_afcharts() call that applies the styling globally. Version 0.5.1 extends the sequential palette to five shades so it can carry quintile data such as deprivation bands, renames the na_colour argument to na.value, and adds a reset argument to switch the styling back off. The package began as a first release derived from sgplot and has had three releases in roughly two years.

◆ Where it's heading

The work splits between palette design and keeping the styling composable. On the design side the sequential palette growing to five shades is driven by a specific reporting need rather than aesthetics, since quintiles are a standard unit in UK official statistics. On the mechanical side, the na.value rename was forced by ggplot2 v4.0.1, theme_af() now respects options set by an earlier use_afcharts() call, and a reset argument acknowledges that global styling needs an off switch. These are the problems a styling package hits once people use it inside larger documents.

◆ Prediction

Expect continued adjustment to ggplot2 v4, since the na.value rename is unlikely to be the only argument affected, and further palette work driven by the reporting formats government analysts actually publish. As a sibling to aftables in the same Analysis Function family, it is likely to keep tracking that guidance rather than setting its own direction.

S
smam
INFRA · APIS
0.0

Animal-movement models in R, where new stochastic processes arrive years apart.

◆ Current state

smam fits statistical models of animal movement, covering moving-resting processes with and without measurement error, moving-resting-handling, and moving-moving processes, with simulation, point estimation and variance estimation for each. The last three releases are pure upkeep: guarding Rf_error calls after an Rcpp update, a maintainer email change, and a compiler warning fix. The substantive work in this window is 0.7.0, which added estimate and vcov generics across all fit functions, and 0.6.0, which added the moving-moving process.

◆ Where it's heading

This package grows by adding process models, and it does so rarely. Between the moving-moving process in 2021 and now, the only interface-level change has been the 0.7.0 generics that gave every fit function a common way to retrieve estimates and their covariance, which is consolidation of an accumulated collection rather than expansion of it. The three releases since are entirely reactive to toolchain and CRAN pressure, and they arrive in step with the maintainer's other package coga, which received the same Rcpp guard within twenty minutes on the same day.

◆ Prediction

Expect further releases to be CRAN and Rcpp maintenance unless a new movement process is published, which is what has historically prompted a minor version here. The generics added in 0.7.0 give any future process model a ready-made interface to slot into.

Alternatives to afcharts and smam

Other Infra & APIs 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 afcharts or smam.

See all afcharts alternatives → · See all smam alternatives →

Recent activity from afcharts and smam

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

  1. 5mo agosmamRcpp attributes regenerated to guard Rf_error calls
  2. 5mo agoafchartsSequential palette reaches five shades for quintile data
  3. 1y agoafchartsNamespace and argument-passing fixes
  4. 1y agoafchartsFirst release, derived from sgplot
  5. 2y agosmamMaintainer email updated
  6. 2y agosmamCompiler format-security warning resolved
  7. 2y agosmamestimate and vcov generics unify all fit functions
  8. 5y agosmamMoving-moving process added with simulation and estimation
  9. 5y agosmamVariance estimators adjusted; example dataset added

Frequently asked questions

What is the difference between afcharts and smam?

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

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. afcharts and smam 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 Infra & APIs products to evaluate alongside.

What are the best alternatives to afcharts?

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

What are the best alternatives to smam?

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