Proust-Lima, C., V. Philipps, and B. Liquet. “Estimation of Extended Mixed Models Using Latent Classes and Latent Processes: The R Package Lcmm”. Journal of Statistical Software, vol. 78, no. 2, June 2017, pp. 1-56, doi:10.18637/jss.v078.i02.