getClinicalTrials {simIDM} | R Documentation |
Simulation of a Large Number of Oncology Clinical Trials
Description
Simulation of a Large Number of Oncology Clinical Trials
Usage
getClinicalTrials(nRep, ..., seed = 1234, datType = "1rowTransition")
Arguments
nRep |
( |
... |
parameters transferred to |
seed |
( |
datType |
( |
Value
This function returns a list with nRep
simulated data sets in the format specified by datType
.
See getDatasetWideFormat()
getOneClinicalTrial()
for details.
Examples
transition1 <- exponential_transition(h01 = 1.2, h02 = 1.5, h12 = 1.6)
transition2 <- exponential_transition(h01 = 1, h02 = 1.3, h12 = 1.7)
getClinicalTrials(
nRep = 10, nPat = c(20, 20), seed = 1234, datType = "1rowTransition",
transitionByArm = list(transition1, transition2), dropout = list(rate = 0.5, time = 12),
accrual = list(param = "intensity", value = 7)
)
[Package simIDM version 0.1.0 Index]