rateReg
to fit parametric gamma frailty model with spline or piecewise constant
baseline rate function.
Another main function mcf
computes and plots
the parametric mean cumulative function (MCF) from a fitted model
as well as the nonparametric sample MCF (Nelson-Aelson estimator)
for recurrent event data.