get_trialr_crm_tite: Get an object to fit the TITE-CRM model using the trialr...

View source: R/trialr_crm_selector.R

get_trialr_crm_titeR Documentation

Get an object to fit the TITE-CRM model using the trialr package.

Description

Get an object to fit the TITE-CRM model using the trialr package.

Usage

get_trialr_crm_tite(
  parent_selector_factory = NULL,
  skeleton,
  target,
  model,
  ...
)

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.

skeleton

Dose-toxicity skeleton, a non-decreasing vector of probabilities.

target

We seek a dose with this probability of toxicity.

model

character string identifying which model form to use. Options include empiric, logistic, logistic2. The model form chosen determines which prior hyperparameters are required. See stan_crm for more details.

...

Extra args are passed to stan_crm.

Details

This function is a short-cut to get_trialr_crm(tite = TRUE). See get_trialr_crm for full details.

Value

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

Examples

# TODO

escalation documentation built on June 27, 2024, 5:09 p.m.