| SampleData {randPack} | R Documentation |
The data were generated using the script in
inst/scripts/makePats.R
and are intended for testing components of the package.
data(SampleData)
A data frame with 78 observations on the following 7 variables.
nameThe patients name.
sexThe sex of the patient, M or F.
ageThe age of the patient.
dateThe date they were entered into the trial.
strataWhich center they were entered by,
Center1 or Center2.
trtA treatment label, either A or B.
survSurvival time, if treatment is A then
exponential with a mean of 10, for B exponential with mean 12.
Clearly the randomizer will assign the patients to treatments, so the indicator here is irrelevant, but it seemed useful to have some difference in survival, and to keep track of it.
data(SampleData) SampleData[1:10,]