The R package reda provides functions for
You can install the released version from CRAN.
Online documentation provides function documentations and includes package vignettes for - exploring and modeling recurrent event data. - introduction to formula response function Recur() - simulating survival and recurrent event data.
The latest version of the package is under development at GitHub. If it is able to pass the building check by Travis CI, you may consider installing it with the help of remotes by
if (! require(remotes)) install.packages("remotes")
remotes::install_github("wenjie2wang/reda", upgrade = "never")