← Back to home
Comparison · Analytics

ggstatsplot vs socialmixr

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

ggstatsplot vs socialmixr: at a glance

Featureggstatsplotsocialmixr
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesstatistical-plots, ggplot2, contingency-tables, hypothesis-testingcontact matrices, epidemiology, pipeline api, breaking changes
Last editorial update1h ago4h ago
WebsiteVisit →Visit →

What is ggstatsplot?

ggstatsplot reached 1.0 by adding tests, having outsourced its statistics years ago.

ggstatsplot produces ggplot2 graphics with statistical test results embedded in the subtitle and caption — comparisons, correlations, contingency tables, histograms. Since the 2019 refactoring that moved all statistical computation into the separate statsExpressions package, its own release notes have been dominated by upstream tracking: adapting to ggplot2, dplyr, purrr and easystats changes. The 1.0.0 release in April 2026 breaks that run with real additions to the contingency-table functions.

Read the full ggstatsplot trajectory →

What is socialmixr?

socialmixr breaks its one-shot contact_matrix() call into a composable pipeline.

socialmixr builds age-structured social contact matrices from survey data for infectious-disease modelling. Version 0.6.0 replaces the monolithic contact_matrix() entry point with a chain of composable steps — filter, assign age groups, weigh, compute, then symmetrise, split or convert per capita — behind a new contact_matrix S3 class. Survey downloading is being handed off to a separate contactsurveys package.

Read the full socialmixr trajectory →

ggstatsplot vs socialmixr: editorial side-by-side

G
ggstatsplot
ANALYTICS
0.0

ggstatsplot reached 1.0 by adding tests, having outsourced its statistics years ago.

◆ Current state

ggstatsplot produces ggplot2 graphics with statistical test results embedded in the subtitle and caption — comparisons, correlations, contingency tables, histograms. Since the 2019 refactoring that moved all statistical computation into the separate statsExpressions package, its own release notes have been dominated by upstream tracking: adapting to ggplot2, dplyr, purrr and easystats changes. The 1.0.0 release in April 2026 breaks that run with real additions to the contingency-table functions.

◆ Where it's heading

The architecture explains the cadence. With statistics living in statsExpressions, ggstatsplot's own releases are mostly the tax of sitting on top of a fast-moving plotting and tidyverse stack — five of the six most recent entries change nothing a user would notice. When substantive work does arrive it clusters in the plotting layer's coverage of test families, as in 1.0.0's one-sample goodness-of-fit support and pairwise contingency analyses. The maintainer is also visibly deliberate about scope, having removed the normality-curve overlay in 0.12.4 for being unrelated to the analysis in question.

◆ Prediction

Expect continued parity work across the plot family — features that exist in one function being extended to its siblings, as goodness-of-fit support moved from ggpiestats to ggbarstats — punctuated by maintenance releases tracking ggplot2 and easystats.

S
socialmixr
ANALYTICS
0.0

socialmixr breaks its one-shot contact_matrix() call into a composable pipeline.

◆ Current state

socialmixr builds age-structured social contact matrices from survey data for infectious-disease modelling. Version 0.6.0 replaces the monolithic contact_matrix() entry point with a chain of composable steps — filter, assign age groups, weigh, compute, then symmetrise, split or convert per capita — behind a new contact_matrix S3 class. Survey downloading is being handed off to a separate contactsurveys package.

◆ Where it's heading

The arc from 0.4.0 to 0.6.0 is decomposition: first extracting helpers like assign_age_groups(), then moving downloads out of the package, and now exposing every stage of matrix construction as its own verb. Breaking changes are accepted at each step — preserved empty age groups, arrays instead of xtabs, [N,Inf) labels — with the new class inheriting from list so existing $matrix access keeps working. The label change is explicitly aligned with the contactmatrix package.

◆ Prediction

Expect the deprecated dotted argument names and the remaining in-package download paths to be removed once the contactsurveys handoff completes, leaving contact_matrix() as a thin wrapper over the pipeline.

Alternatives to ggstatsplot and socialmixr

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 ggstatsplot or socialmixr.

See all ggstatsplot alternatives → · See all socialmixr alternatives →

Recent activity from ggstatsplot and socialmixr

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

  1. 3mo agosocialmixrContact matrices become a composable pipeline
  2. 3mo agoggstatsplotPairwise contingency tests and one-sample goodness-of-fit
  3. 4mo agoggstatsplotInternal maintenance only
  4. 6mo agoggstatsplotAdapted to dplyr 1.2.0 and purrr 1.2.1
  5. 6mo agosocialmixrPatch: load_survey() handles files without cont_id
  6. 6mo agosocialmixrAge-group assignment and population lookup split out
  7. 8mo agoggstatsplotContributor list updated in DESCRIPTION
  8. 10mo agoggstatsplotSecondary axis label parsing fixed in gghistostats
  9. 11mo agoggstatsplotAdapted to the latest ggplot2 release
  10. 1y agosocialmixrFaster survey loading and cached Zenodo lookups
  11. 2y agosocialmixrcontact_matrix() now takes survey objects only
  12. 2y agosocialmixrTest fixes for machine-precision failures

Frequently asked questions

What is the difference between ggstatsplot and socialmixr?

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

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

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

What are the best alternatives to socialmixr?

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