← Back to home
Comparison · Analytics

bittermelon vs socialmixr

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

bittermelon vs socialmixr: at a glance

Featurebittermelonsocialmixr
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesr-package, bitmap-fonts, greyscale, typographycontact matrices, epidemiology, pipeline api, breaking changes
Last editorial update1h ago6h ago
WebsiteVisit →Visit →

What is bittermelon?

bittermelon is growing from binary bitmaps toward greyscale and color glyphs

The package manipulates bitmap fonts and bitmaps in R, and the recent direction is widening what a glyph can be. v2.3.1 adds greyscale font support by reading the experimental yaff levels property into pixmap glyphs with alpha derived from the level fraction, and makes writing a multi-colored glyph an error rather than silently clamping it. Earlier releases built out the same surface: bm_extract(), an interactive pixel picker, data frame coercion, and format support for other packages' bitmap types.

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

bittermelon vs socialmixr: editorial side-by-side

B
bittermelon
ANALYTICS
0.0

bittermelon is growing from binary bitmaps toward greyscale and color glyphs

◆ Current state

The package manipulates bitmap fonts and bitmaps in R, and the recent direction is widening what a glyph can be. v2.3.1 adds greyscale font support by reading the experimental yaff levels property into pixmap glyphs with alpha derived from the level fraction, and makes writing a multi-colored glyph an error rather than silently clamping it. Earlier releases built out the same surface: bm_extract(), an interactive pixel picker, data frame coercion, and format support for other packages' bitmap types.

◆ Where it's heading

Two things are converging. The representation is moving beyond one-bit glyphs — pixmaps, color, and now greyscale levels with transparency — while the API gets stricter about the boundary between them, refusing to quietly downcast a color glyph on write. Separately, the package has been shedding weight: the embedded monobit copy was removed once it outgrew CRAN size limits, pushing format breadth onto a user-installed dependency.

◆ Prediction

Expect further greyscale and color work now that levels parsing exists — most likely writing that format rather than only reading it, since the write path is where the current release chose to draw a hard error instead.

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

See all bittermelon alternatives → · See all socialmixr alternatives →

Recent activity from bittermelon and socialmixr

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

  1. 3mo agosocialmixrContact matrices become a composable pipeline
  2. 4mo agobittermelonGreyscale font reading arrives; color glyphs no longer clamp silently
  3. 6mo agosocialmixrPatch: load_survey() handles files without cont_id
  4. 6mo agobittermelonBitmap extraction and a supported-format predicate
  5. 6mo agosocialmixrAge-group assignment and population lookup split out
  6. 1y agobittermelonData frame coercion and an interactive pixel picker
  7. 1y agosocialmixrFaster survey loading and cached Zenodo lookups
  8. 2y agobittermelonEmbedded monobit removed; broader format support now needs a manual install
  9. 2y agosocialmixrcontact_matrix() now takes survey objects only
  10. 2y agobittermelonCombining-character test fixed after a Unicode package change
  11. 2y agosocialmixrTest fixes for machine-precision failures
  12. 3y agobittermelonHex fonts can be read selectively by code point

Frequently asked questions

What is the difference between bittermelon and socialmixr?

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

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

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