Simulating Joint Longitudinal and Time-to-Event Data
SimJointData-class.Rd
Simulating Joint Longitudinal and Time-to-Event Data
Arguments
- design
(
list
)
a list ofSimGroup
objects. See details.- longitudinal
(
SimLongitudinal
)
object specifying how to simulate the longitudinal data- survival
(
SimSurvival
)
object specifying how to simulate the survival data- .silent
(
flag
)
whether to suppress info messages
Details
The design
argument is used to specify how many distinct groups should be simulated
including key information such as the number of subjects within the group as well as
which treatment arm and study the group belongs to. The design
argument should be a
list of SimGroup
objects e.g.