Here is the R code to reproduce the examples in Martino, Akerkar and Rue (2010)
Example 1: The Kidney Infection data
Example 2: Joint analysis of longitudinal and survival data
Example 3: Leukemia survival data in North West England