R/helpers.R
get_dose_combo_indices.Rd
Get all combinations of dose indices
get_dose_combo_indices(num_doses)
integer vector of number of doses for length(num_doses) treatments
a list, each element being an integer vector
get_dose_combo_indices(num_doses = c(1, 2)) #> [[1]] #> [1] 1 1 #> #> [[2]] #> [1] 1 2 #> # returns list(c(1, 1), c(1, 2))