← Back to home
Comparison · Analytics

ggsurvfit vs lang

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

ggsurvfit vs lang: at a glance

Featureggsurvfitlang
SectorAnalyticsAnalytics
Velocity score2.50.0
Sparks · 30d00
Top themessurvival-analysis, ggplot2, competing-risks, clinical-plotsllm, localization, documentation, r-package
Last editorial update3h ago58m 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 lang?

R help pages translated on demand by whichever LLM you point it at.

lang translates R help documentation at read time using a language model of the user's choosing, rendering the result directly in the RStudio or Positron help pane rather than producing translated files. The two releases since launch have both targeted translation quality rather than reach: 0.1.1 added a context_size argument that summarizes the full help page and injects it into every field's prompt so terminology stays consistent across sections, and rewrote Rd parsing around a structured intermediate representation instead of regex. Version 0.1.2 then made that context conditional, omitting it for inputs of ten words or fewer.

Read the full lang trajectory →

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

L
lang
ANALYTICS
0.0

R help pages translated on demand by whichever LLM you point it at.

◆ Current state

lang translates R help documentation at read time using a language model of the user's choosing, rendering the result directly in the RStudio or Positron help pane rather than producing translated files. The two releases since launch have both targeted translation quality rather than reach: 0.1.1 added a context_size argument that summarizes the full help page and injects it into every field's prompt so terminology stays consistent across sections, and rewrote Rd parsing around a structured intermediate representation instead of regex. Version 0.1.2 then made that context conditional, omitting it for inputs of ten words or fewer.

◆ Where it's heading

The work is converging on the failure modes specific to running documentation translation through a model rather than a translation service. The Rd rewrite through rd_to_list() and list_to_rd() removes a class of formatting corruption that regex manipulation invited. The context-window tuning addresses the opposite problem — a local model handed a context summary longer than the field it is translating paraphrases the context instead. Both fixes are about making small, weaker, locally hosted models behave, which suggests that is the deployment the package expects.

◆ Prediction

Given that both post-launch releases tune prompt construction for local models, expect further per-field prompt heuristics rather than new output targets.

Alternatives to ggsurvfit and lang

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

See all ggsurvfit alternatives → · See all lang alternatives →

Recent activity from ggsurvfit and lang

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

  1. 20d agoggsurvfitGray-test p-values matched to the plotted outcome by name
  2. 2mo agolangContext summary dropped for very short fields
  3. 2mo agolangPage-level context injection and structured Rd parsing
  4. 9mo agolangR help pages translated live in the IDE help pane
  5. 10mo agoggsurvfitggplot2 v4.0.0 compatibility and multi-state CI label fix
  6. 2y agoggsurvfitNegative follow-up times and a cloglog transformation
  7. 2y agoggsurvfitAesthetic defaults become switchable and alignment is exported
  8. 2y agoggsurvfitConfidence limits corrected for monotonicity-reversing transforms
  9. 3y agoggsurvfitGlue syntax in risk tables and coxph model support

Frequently asked questions

What is the difference between ggsurvfit and lang?

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

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

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