simuDat: Simulated Sample Dataset for Demonstration

Description Format Details References


A simulated data frame with covariates named ID, time, event, group, x1, and gender, where

  • ID: Subjects identification;

  • time: Event or censoring time;

  • event: Event indicator, 1 = event, 0 = censored;

  • group: Treatment group indicator;

  • x1: Continuous variable.

  • gender: Gender of subjects.


A data frame with 500 rows and 6 variables.


The sample dataset is originally simulated by the thinning method developed by Lewis and Shedler (1979) and further processed for a better demonstration purpose. See Fu et al. (2016) for details also.


Lewis, P. A., & Shedler, G. S. (1979). Simulation of nonhomogeneous Poisson processes by thinning. Naval Research Logistics Quarterly, 26(3), 403–413.

Fu, H., Luo, J., & Qu, Y. (2016). Hypoglycemic events analysis via recurrent time-to-event (HEART) models. Journal Of Biopharmaceutical Statistics, 26(2), 280–298.

reda documentation built on May 19, 2017, 8:54 p.m.

Search within the reda package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.