sim_trials | R Documentation |
Simulates multiple trials
sim_trials( design, tox_rates, cohortsize = 1, start = 1, parallel_recruit = TRUE, futime, accrual, nsim, seed = 1 )
design |
Thedose-finding design which is employed. Possible options are "RollingSix" for Rolling Six. |
tox_rates |
Vector of true toxicity rates for each dose level in ascending order |
cohortsize |
Number of patients in a cohort |
start |
Dose level to be used at the beginning of the trial |
parallel_recruit |
Whether recruitment is parallel or sequential. If FALSE recruitment is sequential i.e. recruitment is suspended until all DLT results are known |
futime |
Follow-up time in days |
accrual |
Expected number of patients to be recruited in a year |
nsim |
Number of simulated trials |
seed |
Seed for simulation |
res Data frame with key numbers for each trial
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.