Displaying 1 result from an estimated 1 matches for "splitlexi".
Did you mean:
splitlexis
2008 Jul 27
0
competing risk model with time dependent covariates under R or Splus
...ll as accommodating competing risks.
In the Epi package (http://staff.pubhealth.ku.dk/~bxc/Epi/) on CRAN there is a machinery for representation and manipulation of multistate data (of which competing risks are a special case), see the function Lexis().
It also has a time-splitting function there, splitLexis().
If you take a look at practical 14 from this year's SPE course:
http://staff.pubhealth.ku.dk/~bxc/SPE/2008/pracs.pdf
there is an example that addresses the problem you are having, practical no. 14.
If go to the folder
http://staff.pubhealth.ku.dk/~bxc/SPE/2008/R
you will find the R-code th...