← Back to home
Comparison · Analytics

ggsurvfit vs naijR

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

ggsurvfit vs naijR: at a glance

FeatureggsurvfitnaijR
SectorAnalyticsAnalytics
Velocity score2.50.0
Sparks · 30d00
Top themessurvival-analysis, ggplot2, competing-risks, clinical-plotsnigeria, geospatial, reference-data, r-language
Last editorial update4h ago42m 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 naijR?

naijR is assembling the Nigerian reference data R analysts otherwise hand-code every time.

naijR packages Nigeria-specific data and utilities for R: state and Local Government Area names, choropleth mapping, and phone-number repair. The newest release adds `ngdist`, a UNDP-sourced distance matrix covering road distances between all 37 state capitals, with `ng_distance()` for pairwise lookup in kilometres or miles. The spatial foundation was rebased on sf in 0.6.0, retiring the rgdal-era code.

Read the full naijR trajectory →

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

N
naijR
ANALYTICS
0.0

naijR is assembling the Nigerian reference data R analysts otherwise hand-code every time.

◆ Current state

naijR packages Nigeria-specific data and utilities for R: state and Local Government Area names, choropleth mapping, and phone-number repair. The newest release adds `ngdist`, a UNDP-sourced distance matrix covering road distances between all 37 state capitals, with `ng_distance()` for pairwise lookup in kilometres or miles. The spatial foundation was rebased on sf in 0.6.0, retiring the rgdal-era code.

◆ Where it's heading

The package keeps converting local knowledge into checked data structures. LGA names shared between states got `disambiguate_lga()` with interactive selection; misspellings in the original reference document were corrected; mobile numbers with inconsistent separators, or with the letter O typed for zero, get repaired rather than rejected. Each addition targets a specific way Nigerian administrative or contact data breaks generic tooling, which is a narrower and more durable brief than most country packages take on.

◆ Prediction

With a distance matrix now in place alongside the boundary and naming data, the plausible next step is more derived geography of the same kind rather than new utility functions, though the entries do not say which dataset is next.

Alternatives to ggsurvfit and naijR

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

See all ggsurvfit alternatives → · See all naijR alternatives →

Recent activity from ggsurvfit and naijR

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

  1. 20d agoggsurvfitGray-test p-values matched to the plotted outcome by name
  2. 5mo agonaijRRoad distances between all 37 state capitals
  3. 5mo agonaijRDevelopment snapshot of the distance-matrix work
  4. 10mo agoggsurvfitggplot2 v4.0.0 compatibility and multi-state CI label fix
  5. 2y agoggsurvfitNegative follow-up times and a cloglog transformation
  6. 2y agoggsurvfitAesthetic defaults become switchable and alignment is exported
  7. 2y agoggsurvfitConfidence limits corrected for monotonicity-reversing transforms
  8. 2y agonaijRMore examples and tighter internal data compression
  9. 3y agonaijRsf replaces rgdal; LGA name collisions get a resolver
  10. 3y agonaijRWarning silenced ahead of the spatial stack migration
  11. 3y agoggsurvfitGlue syntax in risk tables and coxph model support
  12. 3y agonaijRPackage objects gain base R semantics; phone repair widened

Frequently asked questions

What is the difference between ggsurvfit and naijR?

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 naijR?

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 naijR?

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