trialr using the CRM dose-finding design. — crm_fit-class" />

Class of model fit by trialr using the CRM dose-finding design.

crm_fit(
  dose_indices,
  num_patients,
  doses,
  tox,
  weights,
  prob_tox,
  median_prob_tox,
  prob_mtd,
  recommended_dose,
  dat,
  fit,
  samples = NULL
)

Arguments

dose_indices

A vector of integers representing the dose-levels under consideration.

num_patients

Integer, the number of patients analysed.

doses

vector of integers representing the dose given to the patients.

tox

vector of integers representing the toxicity status of the patients.

weights

Vector of numeric weights for the observations for patients 1:num_patients, thus facilitating the TITE-CRM design.

prob_tox

The posterior mean probabilities of toxicity at doses 1:n; a vector of numbers between 0 and 1.

median_prob_tox

The posterior median probabilities of toxicity at doses 1:n; a vector of numbers between 0 and 1.

prob_mtd

The posterior probability that each dose is the MTD, by the chosen model; a vector of numbers between 0 and 1. This probability reflects the uncertainty remaining in the parameter distributions, whereas prob_tox and median_prob_tox do not.

recommended_dose

An integer representing the dose-level that is recommended for the next patient or cohort. Contrast to modal_mtd_candidate.

dat

Object crm_params containing data passed to sampling.

fit

An object of class stanfit, containing the posterior samples.

samples

An optional data.frame like object of samples.

Details

See methods(class = "crm_fit") for an overview of available methods.

See also