simDat: Simulated dataset for demonstration

simDatR Documentation

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

See simGSC for instruction on simulating recurrent event data from scale-change models.


reReg documentation built on Sept. 20, 2023, 9:07 a.m.