← Back to home
Comparison · Analytics

ggsurvfit vs mlr3spatial

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

ggsurvfit vs mlr3spatial: at a glance

Featureggsurvfitmlr3spatial
SectorAnalyticsAnalytics
Velocity score2.50.0
Sparks · 30d00
Top themessurvival-analysis, ggplot2, competing-risks, clinical-plotsmlr3, spatial, raster, prediction
Last editorial update1h ago2h ago
WebsiteVisit →Visit →

What is ggsurvfit?

ggsurvfit is in correctness-and-compatibility mode, not feature mode.

The package draws survival and cumulative-incidence curves on a ggplot2 grammar, with risk tables, p-values and quantile annotations. Recent releases are entirely fixes and upstream tracking: ggplot2 v4.0.0 compatibility in 2025, and a 2026 patch correcting a Gray-test p-value that could be reported for the wrong competing event.

Read the full ggsurvfit trajectory →

What is mlr3spatial?

Raster prediction in mlr3 finally returns class probabilities, not just hard labels.

mlr3spatial connects mlr3 learners to raster and vector spatial data, handling chunked prediction over large rasters through DataBackendRaster. Development is slow and fix-heavy: most releases in the last two years were compatibility work against mlr3 and paradox rather than new capability. 0.7.0 is the exception.

Read the full mlr3spatial trajectory →

ggsurvfit vs mlr3spatial: editorial side-by-side

G
ggsurvfit
ANALYTICS
2.5

ggsurvfit is in correctness-and-compatibility mode, not feature mode.

◆ Current state

The package draws survival and cumulative-incidence curves on a ggplot2 grammar, with risk tables, p-values and quantile annotations. Recent releases are entirely fixes and upstream tracking: ggplot2 v4.0.0 compatibility in 2025, and a 2026 patch correcting a Gray-test p-value that could be reported for the wrong competing event.

◆ Where it's heading

The feature surface settled around 1.0.0, when risk-table alignment was exported and colour and linetype defaults became configurable. Since then the work is keeping pace with survival, ggplot2 and tidycmprsk changes, and closing cases where the plotted curve and the annotation disagreed — the p-value matched by position rather than name, confidence limits swapped for multi-state models, quantiles read off a plateau.

◆ Prediction

Expect the next release to track upstream survival or ggplot2 changes rather than add plotting features; the CDISC censoring convention adopted in Surv_CNSR() suggests further alignment with clinical data standards is the likelier direction.

M
mlr3spatial
ANALYTICS
0.0

Raster prediction in mlr3 finally returns class probabilities, not just hard labels.

◆ Current state

mlr3spatial connects mlr3 learners to raster and vector spatial data, handling chunked prediction over large rasters through DataBackendRaster. Development is slow and fix-heavy: most releases in the last two years were compatibility work against mlr3 and paradox rather than new capability. 0.7.0 is the exception.

◆ Where it's heading

The package tracks the mlr3 core rather than leading it — 0.5.0 and 0.6.1 exist to absorb upstream changes in paradox and mlr3. Against that background, 0.7.0 adding probability predictions to predict_spatial() is the first genuine capability increase in a while, arriving alongside two DataBackendRaster fixes for multi-band sources and similarly-named layers. Cadence is roughly one release per year.

◆ Prediction

Given the pattern, the next release is more likely to be compatibility work against a new mlr3 or terra version than another feature; further raster-backend edge cases around layer naming are the visible loose end.

Alternatives to ggsurvfit and mlr3spatial

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 ggsurvfit or mlr3spatial.

See all ggsurvfit alternatives → · See all mlr3spatial alternatives →

Recent activity from ggsurvfit and mlr3spatial

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

  1. 20d agoggsurvfitGray-test p-values matched to the plotted outcome by name
  2. 1mo agomlr3spatialpredict_spatial() gains probability predictions
  3. 10mo agomlr3spatialCompatibility with mlr3 1.2.0
  4. 10mo agoggsurvfitggplot2 v4.0.0 compatibility and multi-state CI label fix
  5. 1y agomlr3spatialError on conflicting X/Y columns in sf objects
  6. 2y agoggsurvfitNegative follow-up times and a cloglog transformation
  7. 2y agomlr3spatialCompatibility with paradox 1.0.0
  8. 2y agoggsurvfitAesthetic defaults become switchable and alignment is exported
  9. 2y agoggsurvfitConfidence limits corrected for monotonicity-reversing transforms
  10. 3y agomlr3spatialUse terra::inMemory() instead of the @ptr slot
  11. 3y agoggsurvfitGlue syntax in risk tables and coxph model support
  12. 3y agomlr3spatialspatial_predict() accepts stars, sf and Raster* inputs

Frequently asked questions

What is the difference between ggsurvfit and mlr3spatial?

They serve adjacent needs but don't currently overlap on shipped themes. ggsurvfit is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 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 ggsurvfit better than mlr3spatial?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. ggsurvfit is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 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 ggsurvfit?

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

What are the best alternatives to mlr3spatial?

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