← Back to home
Comparison · Analytics

ggsurvfit vs xplainfi

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

ggsurvfit vs xplainfi: at a glance

Featureggsurvfitxplainfi
SectorAnalyticsAnalytics
Velocity score2.52.5
Sparks · 30d00
Top themessurvival-analysis, ggplot2, competing-risks, clinical-plotsmlr3, feature-importance, interpretability, statistical-inference
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 xplainfi?

xplainfi treats feature importance as an estimate with error bars, not a number.

xplainfi implements feature importance methods for mlr3 — perturbation-based PFI, CFI and RFI, refit-based LOCO and WVIM, and SAGE. Its defining choice is that importance scores come with inference attached: several confidence-interval methods, including the Nadeau-Bengio correction and a distribution-free option added in 1.1.0. It declared itself released at 1.0.0 in January 2026.

Read the full xplainfi trajectory →

ggsurvfit vs xplainfi: 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.

X
xplainfi
ANALYTICS
2.5

xplainfi treats feature importance as an estimate with error bars, not a number.

◆ Current state

xplainfi implements feature importance methods for mlr3 — perturbation-based PFI, CFI and RFI, refit-based LOCO and WVIM, and SAGE. Its defining choice is that importance scores come with inference attached: several confidence-interval methods, including the Nadeau-Bengio correction and a distribution-free option added in 1.1.0. It declared itself released at 1.0.0 in January 2026.

◆ Where it's heading

Two lines of work run in parallel. The statistical side keeps adding inference options — variance corrections, conditional predictive impact, and the Lei et al. observation-wise loss-difference test — while the computational side attacks the cost of refit-based methods, most recently with a batch_size argument that parallelises refits and a default of one refit per resampling iteration. Support for pre-trained learners in 1.1.0 removes the refit requirement entirely in some workflows.

◆ Prediction

The stated reasoning that budget is better spent on resampling iterations than repeated refits suggests n_repeats may be removed from WVIM and LOCO outright, as the release notes hint.

Alternatives to ggsurvfit and xplainfi

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 xplainfi.

See all ggsurvfit alternatives → · See all xplainfi alternatives →

Recent activity from ggsurvfit and xplainfi

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

  1. 20d agoggsurvfitGray-test p-values matched to the plotted outcome by name
  2. 20d agoxplainfiRefits parallelise; repeated refits deprioritised in favour of resampling
  3. 5mo agoxplainfiPre-trained learners supported; distribution-free inference added
  4. 6mo agoxplainfiVersion bumped to mark the package as released
  5. 9mo agoxplainfiConfidence intervals arrive for feature importance scores
  6. 10mo agoggsurvfitggplot2 v4.0.0 compatibility and multi-state CI label fix
  7. 2y agoggsurvfitNegative follow-up times and a cloglog transformation
  8. 2y agoggsurvfitAesthetic defaults become switchable and alignment is exported
  9. 2y agoggsurvfitConfidence limits corrected for monotonicity-reversing transforms
  10. 3y agoggsurvfitGlue syntax in risk tables and coxph model support

Frequently asked questions

What is the difference between ggsurvfit and xplainfi?

They serve adjacent needs but don't currently overlap on shipped themes. ggsurvfit and xplainfi are shipping at a similar cadence (velocity 2.5 vs 2.5, 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 ggsurvfit better than xplainfi?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. ggsurvfit and xplainfi are shipping at a similar cadence (velocity 2.5 vs 2.5, 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 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 xplainfi?

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