simData {dejaVu} | R Documentation |
Simulated recurrent event data.
Description
A simulated dataset containing a randomised treatment group, follow-up time, and number of events, for 500 patients. The planned follow-up period for the study was 1 year, but some patients dropped out early and so their follow-up ended prematurely (i.e. before 1 year)
Usage
simData
Format
A data frame with 500 rows and 3 variables:
- z
a binary variable indicating randomised treatment group
- y
number of events observed during patient's follow-up
- fupTime
the time in years the patient was followed up for
...
Source
Simulated data
[Package dejaVu version 0.3.1 Index]