Description Usage Arguments Value
View source: R/get_next_dose.R
This function takes into account the probability of underdosing and overdosing at each dose combination to choose the dose for the next cohort.
1 2 | get_next_dose(info_mat, doses, current_dose, add_random = FALSE,
frac_target = 0.75)
|
info_mat |
Matrix containing information about underdosing and overdosing at each dose combination |
doses |
A list containing combination doses. |
current_dose |
Row number of 'doses' corresponding ot current dose. |
add_random |
Should some randomness be added to choice of next dose? Default is FALSE. |
frac_target |
If randomness is added, how close to the 'best' dose is acceptable. Default is 75 percent of P(target toxicity). |
The row number corresponding to the dose combination with the largest probability of target toxicity out of all admissible doses. If all dose combinations are inadmissible then NA is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.