Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

simDat

Simulated dataset for demonstration


Description

A simulated data frame with the following variables

id

subjects identification

t.start

start of the interval

t.stop

endpoint of the interval; when time origin is 0 this variable also marks the recurrence or terminal/censoring time

status

terminal event indicator; 1 if a terminal event is recorded

event

recurrent event indicator; 1 if a recurrent event is recorded

x1

baseline covariate generated from a standard uniform distribution

x2

baseline covariate generated from a standard uniform distribution (independent from z1

Usage

data(simDat)

Format

A data frame with 874 rows and 7 variables.

Details

The sample dataset simDat is generated by set.seed(0); dat <- simGSC(200). See simGSC for instruction on simulating recurrent event data from scale-change models.


reReg

Recurrent Event Regression

v1.4.0
GPL (>= 3)
Authors
Sy Han (Steven) Chiou [aut, cre], Chiung-Yu Huang [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.