A dataset mimicking data that might be obtained from a
two-by-two factorial clinical trial. It is the first 100 rows
of the data set simdata
.
data(simdataSub)
A data frame with 100 rows and 10 variables
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