elect: Estimation of life expectancies using continuous-time multi-state survival models
R software and manual.
For feedback:
elect for R:
elect version 1.1 and higher are available as R package 'elect' from the CRAN website
(link).
Reference and talk:
Van den Hout A, Chan MS, Matthews FE (2019). Estimation of life expectancies using continuous-time multi-state models.
Computer Methods and Programs in Biomedicine 178, 11-18. (Email me for a complementary copy)
Talk at REVES, Paris, 2011 (pdf)
R data and code for Examples I and II in manual:
data Example I
code Example I
code Example II
code Example III
The sofware requires data in long format (one row per observation). Here is some explanatory R code and data for the conversion from wide-format data to long-format data:
wide-format data example
conversion code example
Older versions of elect, and vignette:
elect version 0.1.3
elect version 0.2
elect version 1.0.3
Vignette (pdf)