Learn R Programming

escalation (version 0.2.3)

get_dose_combo_indices: Get all combinations of dose indices

Description

Get all combinations of dose indices

Usage

get_dose_combo_indices(num_doses)

Value

a list, each element being an integer vector

Arguments

num_doses

integer vector of number of doses for length(num_doses) treatments

Examples

Run this code
get_dose_combo_indices(num_doses = c(1, 2))
# returns list(c(1, 1), c(1, 2))

Run the code above in your browser using DataLab