vtSingleTrial | R Documentation |
Simulation function for simulating a single trial
vtSingleTrial(
trueps,
size.cohort = 3,
size.level = NULL,
etas = c(0.1, 0.3),
dec.cut = 0.65,
prob.mdl = c("NONPARA", "NONPARA+", "PARA", "PARA+"),
priors = NULL,
...
)
trueps |
True |
size.cohort |
Size of each cohort |
size.level |
Maximum number of patients for each dose level |
etas |
Vector of length 2 representing |
dec.cut |
Thresholds |
prob.mdl |
Option of the probability models:
Default value is |
priors |
A class |
... |
Optional arguments for |
dose
: Optimal dose level
n.patients
: Number of patients for each dose level and each cohort
ptox
: Posterior mean of DLT risk rate after each interim analysis
pres
: Posterior mean of immune response rate after each interim analysis
region
: Identified region in the decision map after each interim analysis
prob
: Posterior mean of \theta
's after each interim analysis
smps
: Observed data after each cohort
rst.sce <- vtScenario(tox = c(0.05, 0.05, 0.08),
res = c(0.2, 0.3, 0.5),
rho = 1)
rst.simu <- vtSingleTrial(trueps = rst.sce, size.cohort=3, size.level=12,
prob.mdl="NONPARA");
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.