SingleSim.object: SingleSim Object

Description Arguments Structure

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 DropoutMechanism object used to perform the subject dropout. See DropoutMechanism.object.

impute.mechanism

If the status is "imputed" then this contains the ImputeMechanism object used to perform the imputation. See ImputeMechanism.object

study.time

The study follow up period (see SimulateComplete)

event.rates

The control/active event rates (see SimulateComplete), if data set was generated without using these (e.g. the dejaData argument was used) then this is set to NULL

dispersions

The control/active dispersion rates (see SimulateComplete)

Structure

The above components must be included in a SingleSim Object


dejaVu documentation built on April 27, 2021, 5:07 p.m.