simdata {dpasurv} | R Documentation |
This is a simulated data set in the (start,stop] format. The subject column refers to subject ID and note that there are multiple rows per subject. The columns x and dose correspond to a treatment and dose variable respectively, while M refers to the longitudinal mediator values. The triplet (start, stop, event) corresponds to the time-to-event data in the required (start,stop] format.
A data frame with the following variables: subject
(fct), x
(dbl),
dose
(fct), M
(dbl), start
(dbl), stop
(dbl), event
(dbl).