sim_trial | R Documentation |
Simulates a single trial
sim_trial( design, tox_rates, cohortsize = 1, start = 1, parallel_recruit = TRUE, futime, accrual )
design |
The dose-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 |
res_dlt Data frame with dose level and DLT result for each patient
res_time Data frame with important time points in days since trial start for each patient
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.