The R pacakge **reda** provides functions for

- simulating survival, recurrent event, and multiple event data from stochastic process point of view;
- exploring and modeling recurrent event data through the mean cumulative function (MCF) or also called the Nelson-Aalen estimator of the cumulative hazard rate function, and gamma frailty model with spline rate function;
- comparing two-sample recurrent event responses with the pseudo-score tests.

You can install the released version from CRAN.

```
install.packages("reda")
```

The latest version of package is under development at GitHub in
branch 'dev'. 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", ref = "dev")
```

- Online documentation
- Package vignette on exploring and modeling recurrent event data.
- Package vignette on simulating survival and recurrent event data.

The R package reda is free software: You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version (at your option). See the GNU General Public License for details.

The R package reda is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

**Any scripts or data that you put into this service are public.**

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.