Package: retrogroup 0.0.3.9000

retrogroup: Reconstruct Patient-Level Subgroup Membership in Survival Data

Patient-level survival outcomes for a whole clinical trial are frequently available alongside published subgroup hazard ratios, while the subgroup membership of each patient is not. 'retrogroup' reconstructs subgroup membership from these two sources of information. A Bayesian survival model estimates the posterior probability that each patient belongs to each subgroup level, and a sampling method uses these probabilities to impute a subgroup level for each patient.

Authors:William Michael Landau [aut, cre], Eli Lilly and Company [cph, fnd]

retrogroup_0.0.3.9000.tar.gz
retrogroup_0.0.3.9000.zip(r-4.7-x86_64)retrogroup_0.0.3.9000.zip(r-4.7-arm64)retrogroup_0.0.3.9000.zip(r-4.6-x86_64)retrogroup_0.0.3.9000.zip(r-4.6-arm64)retrogroup_0.0.3.9000.zip(r-4.5-x86_64)
retrogroup_0.0.3.9000.tgz(r-4.6-x86_64)retrogroup_0.0.3.9000.tgz(r-4.6-arm64)retrogroup_0.0.3.9000.tgz(r-4.5-x86_64)retrogroup_0.0.3.9000.tgz(r-4.5-arm64)
retrogroup_0.0.3.9000.tar.gz(r-4.7-arm64)retrogroup_0.0.3.9000.tar.gz(r-4.7-x86_64)retrogroup_0.0.3.9000.tar.gz(r-4.6-arm64)retrogroup_0.0.3.9000.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
retrogroup/json (API)

# Install 'retrogroup' in R:
install.packages('retrogroup', repos = c('https://wlandau.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/wlandau/retrogroup/issues

Pkgdown/docs site:https://wlandau.github.io

On CRAN:

Conda:

4.13 score 15 scripts 11 exports 13 dependencies

Last updated from:6efaf3258c. Checks:14 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK138
linux-devel-x86_64OK178
source / vignettesOK214
linux-release-arm64OK192
linux-release-x86_64OK158
macos-release-arm64OK181
macos-release-x86_64OK307
macos-oldrel-arm64OK158
macos-oldrel-x86_64OK233
windows-devel-arm64OK229
windows-devel-x86_64OK207
windows-release-arm64OK244
windows-release-x86_64OK142
windows-oldrel-x86_64OK187
wasm-releaseFAIL82

Exports:group_analysis_probabilitygroup_analysis_summarygroup_data_eventsgroup_data_patientgroup_data_summarygroup_example_patientgroup_example_summarygroup_optimize_constrainedgroup_optimize_unconstrainedgroup_sample_constrainedgroup_sample_unconstrained

Dependencies:cligluelatticelifecyclemagrittrMatrixpillarpkgconfigrlangsurvivaltibbleutf8vctrs

Approximating event counts using confidence intervals of assumed hazard ratios
Usage | References

Last update: 2026-12-01
Started: 2026-12-01

Estimates of unknown model parameters
Notation | Prognostic effects | Conditional expected relative hazard | Baseline cumulative hazard | References

Last update: 2026-12-01
Started: 2026-12-01

Optimization benchmarks
Purpose | Method | Design | Settings | Colon cancer example | Estimates | Time and convergence

Last update: 2026-12-01
Started: 2026-11-19

Optimizing subgroup levels
Loss function | Moves | Flip | Swap | Comparing the moves | Optimization for unconstrained sampling | Optimization for constrained sampling | Stopping | Tolerance | Convergence | References

Last update: 2026-12-01
Started: 2026-11-19

Prognostic benchmarks
Purpose | Method | Model | Design | Reporting | Colon cancer example | Estimates | Time and convergence | Primary biliary cholangitis example | Simulated example

Last update: 2026-12-01
Started: 2026-12-01

Sampling benchmarks
Purpose | Method | Colon cancer example | Simulated example

Last update: 2026-12-01
Started: 2026-11-19

Sampling subgroups
Unconstrained sampling | Constrained sampling

Last update: 2026-12-01
Started: 2026-11-19

The model and posterior
Notation | Hazard rate | Likelihood | Posterior | Posterior probability estimation | References

Last update: 2026-12-01
Started: 2026-11-19

The motivating problem
The goal | Patient-level data | Summary-level data | Sample sizes | Event counts | References

Last update: 2026-12-01
Started: 2026-11-19

Readme and manuals

Help Manual

Help pageTopics
Posterior subgroup probabilitiesgroup_analysis_probability
Subgroup-level statisticsgroup_analysis_summary
Approximate subgroup event countsgroup_data_events
Patient-level survival datagroup_data_patient
Summary subgroup statisticsgroup_data_summary
Example patient-level survival datagroup_example_patient
Example summary subgroup statisticsgroup_example_summary
Constrained subgroup optimizationgroup_optimize_constrained
Unconstrained subgroup optimizationgroup_optimize_unconstrained
Constrained subgroup samplinggroup_sample_constrained
Unconstrained subgroup samplinggroup_sample_unconstrained