The R package reda provides functions for simulating, exploring and modeling recurrent event data.
The main functions are summarized as follows:
simEventData
: Simulating survival, recurrent event, and
multiple event data from stochastic process point of view.
mcf
: Estimating the mean cumulative function (MCF) from a
fitted gamma frailty model, or from a sample recurrent event data by using
the nonparametic MCF estimator (the Nelson-Aelen estimator of the cumulative
hazard function).
mcfDiff
: Comparing two-sample MCFs by the pseudo-score tests
and estimating their difference over time.
rateReg
: Fitting Gamma fraitly model with spline baseline rate
function.
See the package vignettes for more introduction and demonstration.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.