chjackson / survextrap

Survival Extrapolation With a Flexible Parametric Model and External Data
https://chjackson.github.io/survextrap/
GNU General Public License v3.0
7 stars 3 forks source link

Allow non-proportional hazards for some but not all covariates #6

Closed chjackson closed 10 months ago

chjackson commented 1 year ago

This would be nice for "completion". Obvious syntax would be

survextrap(Surv(time,event) ~ agegroup + treatment, nonprop = ~ treatment, ...)

Though more experience and motivating examples are wanted for non-proportional hazards models in general.

chjackson commented 10 months ago

Added in https://github.com/chjackson/survextrap/commit/3029d4ef6c6bfe041f614c8dd9ea6129d02396e8