← Back to home
Comparison · Analytics

epiworldR vs socialmixr

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

Shared themes:epidemiology

epiworldR vs socialmixr: at a glance

FeatureepiworldRsocialmixr
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesr-package, epidemiology, agent-based-simulation, crancontact matrices, epidemiology, pipeline api, breaking changes
Last editorial update1h ago6h ago
WebsiteVisit →Visit →

What is epiworldR?

epiworldR is a thin R shell whose releases track the C++ simulator underneath it

Almost every release here is a version bump of the underlying epiworld C++ library, wrapped and pushed to CRAN. The substantive R-side work is narrow and consistent: exposing simulation outputs that were already computed but not reachable from R — outbreak size, active cases, hospitalizations and their savers. The newest release addresses an AddressSanitizer finding, which is the kind of thing CRAN checks surface on a compiled package.

Read the full epiworldR 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 →

epiworldR vs socialmixr: editorial side-by-side

E
epiworldR
ANALYTICS
0.0

epiworldR is a thin R shell whose releases track the C++ simulator underneath it

◆ Current state

Almost every release here is a version bump of the underlying epiworld C++ library, wrapped and pushed to CRAN. The substantive R-side work is narrow and consistent: exposing simulation outputs that were already computed but not reachable from R — outbreak size, active cases, hospitalizations and their savers. The newest release addresses an AddressSanitizer finding, which is the kind of thing CRAN checks surface on a compiled package.

◆ Where it's heading

The R package's job is staying current with the simulator and satisfying CRAN, not evolving its own interface. What direction it has shows in which model outputs get exposed next, and in a steady tidy-up of the build — the custom configure script was dropped in favour of R's built-in C++17 and OpenMP settings, and test coverage has been filled in across several releases with automated assistance.

◆ Prediction

Expect the next release to track another epiworld version bump, with any R-side addition most likely being one more exposed metric or saver, following the pattern of get_hospitalizations and get_outbreak_size.

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

See all epiworldR alternatives → · See all socialmixr alternatives →

Recent activity from epiworldR and socialmixr

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

  1. 3mo agosocialmixrContact matrices become a composable pipeline
  2. 4mo agoepiworldR0.14.0 addresses an AddressSanitizer finding
  3. 5mo agoepiworldRWrapper bumped to track a new epiworld version
  4. 5mo agoepiworldRBuild drops the custom configure script for R's C++17 and OpenMP settings
  5. 6mo agoepiworldRepiworld bumped to 0.11.2
  6. 6mo agosocialmixrPatch: load_survey() handles files without cont_id
  7. 6mo agosocialmixrAge-group assignment and population lookup split out
  8. 7mo agoepiworldRTests updated at CRAN's request
  9. 7mo agoepiworldRHospitalizations, outbreak size and active cases exposed to R
  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 epiworldR and socialmixr?

Both compete on the same themes — epidemiology — within Analytics. epiworldR 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 epiworldR better than socialmixr?

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

Top epiworldR alternatives in Analytics are ranked by recent ship velocity. Browse the "epiworldR alternatives" section above for the current picks, or visit /alternatives/epiworldr 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.