get_boin_comb: Get an object to fit the BOIN COMB model using the BOIN...

View source: R/boin_comb_selector.R

get_boin_combR Documentation

Get an object to fit the BOIN COMB model using the BOIN package.

Description

Get an object to fit the BOIN COMB model using the BOIN package.

Usage

get_boin_comb(
  parent_selector_factory = NULL,
  num_doses,
  target,
  use_stopping_rule = TRUE,
  ...
)

Arguments

parent_selector_factory

optional object of type selector_factory that is in charge of dose selection before this class gets involved. Leave as NULL to just use CRM from the start.

num_doses

integer vector of the number of doses of treatment 1, 2

target

We seek a dose with this probability of toxicity.

use_stopping_rule

TODO

...

Extra args are passed to next.comb.

Value

an object of type selector_factory that can fit the BOIN COMB model to outcomes.

References

Lin, R., & Yin, G. (2017). Bayesian optimal interval design for dose finding in drug-combination trials. Statistical methods in medical research, 26(5), 2155-2167.

Examples

num_doses <- c(3, 4)
target <- 0.25
boin_fitter <- get_boin_comb(num_doses = num_doses, target = target)
x1 <- fit(boin_fitter, outcomes = "1.1NNN")
x1
x2 <- fit(boin_fitter, outcomes = "1.1NNN 2.1TNT")
x2


brockk/dosefinding documentation built on April 5, 2025, 5:53 p.m.