andybega / spduration

Split-population duration model in R
https://andybeger.com/spduration/
4 stars 0 forks source link

Integrate Surv() instead of add_duration()? #27

Open andybega opened 5 years ago

andybega commented 5 years ago

Integrate the package with the Surv() objects instead of the explicit add_duration function?

This would help match how other survival analysis is done in R.

andybega commented 4 years ago

For backwards compatibility, could leave the existing add_duration(); spdur() interface and add a new splitdur() that uses, maybe, Surv() and also a better formula interface.