get_next_dose: Get the next dose

Description Usage Arguments Value

View source: R/get_next_dose.R

Description

This function takes into account the probability of underdosing and overdosing at each dose combination to choose the dose for the next cohort.

Usage

1
2
get_next_dose(info_mat, doses, current_dose, add_random = FALSE,
  frac_target = 0.75)

Arguments

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).

Value

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.


dominicmagirr/dosecombo documentation built on May 6, 2019, 4:32 p.m.