trial_duration: Duration of trials.

View source: R/interface.R

trial_durationR Documentation

Duration of trials.

Description

Get the length of time that trials take to recruit all patients.

Usage

trial_duration(x, ...)

Arguments

x

Object of type simulations.

...

arguments passed to other methods

Value

vector of numerical times

Examples

true_prob_tox <- c(0.12, 0.27, 0.44, 0.53, 0.57)
sims <- get_three_plus_three(num_doses = 5) %>%
  simulate_trials(num_sims = 50, true_prob_tox = true_prob_tox)
sims %>% trial_duration

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