simdata {factorial2x2} | R Documentation |
Simulated 2x2 factorial trial data
Description
A dataset mimicking data that might be obtained from a two-by-two factorial clinical trial.
Usage
data(simdata)
Format
A data frame with 4600 rows and 10 variables
Details
-
subjno
subject ID -
time
time to event or censoring -
event
event indicator (1=event, 0=censoring) -
indA
indicator of receiving treatment A (1=yes, 0=no) -
indB
indicator of receiving treatment B (1=yes, 0=no) -
cvd
history of cardiovascular disease (1=yes, 0=no) -
fac2-fac5
indicator variables for the 5 level factor variable
[Package factorial2x2 version 0.2.0 Index]