Fits proportional hazards model incorporating random effects using an EM algorithm using Markov Chain Monte Carlo at E-step. Vaida and Xu (2000) [DOI:10.1002/1097-0258(20001230)19:24<3309::AID-SIM825>3.0.CO;2-9].
install.packages("phmm")
# install.packages('remotes')
remotes::install_github("mcdonohue/phmm")