sim.data {miRecSurv} | R Documentation |
Simulated data set
Description
This data corresponds to a recurrent events simulated cohort using the survsim
package.
Usage
sim.data
Format
A data.frame
with 668 rows and 17 columns, including:
nidan integer number that identifies the subject.
real.episode number of the episode corresponding to the real history of the individual.
obs.episode number of the episode corresponding to the follow-up time of the individual.
time time until the corresponding event happens (or time to subject drop-out), regarding the beginning of the follow-up time.
status logical value indicating if the episode corresponds to an event or a drop-out.
start time at which an episode starts, taking the beginning of follow-up as the origin of the time scale.
stop time at which an episode ends, taking the beginning of follow-up as the origin of the time scale.
time2 time until the corresponding event happens (or time to subject drop-out), in calendar time.
start2 time at which an episode starts, where the time scale is calendar time.
stop2 time at which an episode ends, where the time scale is calendar time.
old real value indicating the time that the individual was at risk before the beginning of follow-up.
risk.bef factor that indicates if an individual was at risk before the beginning of follow-up or not.
long time not at risk immediately after an episode.
zIndividual heterogeneity.
xbinomial covariate.
x.1binomial covariate.
x.2binomial covariate.