SingleSim.object {dejaVu} | R Documentation |
SingleSim Object
Description
A class containing the data for a single simulation. Depending on the value
of status
, this may be a complete data set, a set including subject dropouts
or a data set after multiple imputation
print.SingleSim
and summary.SingleSim
methods are defined.
Arguments
data |
The data frame, one row per subject containing (at least) the following columns Id, arm, censored.time, observed.events and actual.events |
event.times |
A list of event times. event.times[[1]] is a list of event times for subject with Id 1 The length of event.times[[1]] = the number of observed events of subject with Id 1 |
status |
Either "complete", "dropout" or "imputed" denoting the status of the data set. |
subject.rates |
A vector of the specific rates used for the Poisson process for subjects when generating the data |
dropout.mechanism |
If status is not "complete" then this contains the |
impute.mechanism |
If the status is "imputed" then this contains the |
study.time |
The study follow up period (see |
event.rates |
The control/active event rates (see |
dispersions |
The control/active dispersion rates (see |
Structure
The above components must be included in a SingleSim Object