precautionary (version 0.1-2)

phase1_sim: Override escalation::phase1_sim to incorporate latent toxicity tolerances

Description

Override escalation::phase1_sim to incorporate latent toxicity tolerances

Usage

phase1_sim(
  selector_factory,
  true_prob_tox,
  sample_patient_arrivals = function(df) cohorts_of_n(n = 3, mean_time_delta = 1),
  previous_outcomes = "",
  next_dose = NULL,
  i_like_big_trials = FALSE,
  return_all_fits = FALSE
)

Arguments

selector_factory

An escalation::selector_factory object

true_prob_tox

A vector of toxicity probabilities for the doses defined in selector_factory

sample_patient_arrivals

A function implementing an arrivals process for trial enrollment

previous_outcomes

This may or may not apply in applications of package precautionary

next_dose

Undocumented

i_like_big_trials

I didn't choose this parameter name

return_all_fits

Don't do this