vtSimu {visit} | R Documentation |
Conduct simulation study
Description
Simulate clinical trials with given settings for multiple times to evaluate the study operating characteristics.
Usage
vtSimu(n.rep = 100, seed = NULL, ..., n.cores = 1,
update.progress = NULL)
Arguments
n.rep |
Number of repetitions |
seed |
Seed |
... |
Optional parameters for |
n.cores |
Number of cores for parallel computations |
update.progress |
Reserved parameter for Shiny GUI |
Value
A class VTSIMU
list with length n.rep
of results. Each item is
a list return from vtSingleTrial
.
Examples
rst.sce <- vtScenario(tox = c(0.05, 0.05, 0.08),
res = c(0.2, 0.3, 0.5),
rho = 1)
rst.simu <- vtSimu(n.rep = 100, n.cors = 2, trueps = rst.sce,
size.cohort=3, size.level=12, prob.mdl="NONPARA");
[Package visit version 2.2 Index]