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
)
A vector of integers representing the dose-levels under consideration.
Integer, the number of patients analysed.
vector of integers representing the dose given to the patients.
vector of integers representing the toxicity status of the patients.
Vector of numeric weights for the observations for patients 1:num_patients, thus facilitating the TITE-CRM design.
The posterior mean probabilities of toxicity at doses 1:n; a vector of numbers between 0 and 1.
The posterior median probabilities of toxicity at doses 1:n; a vector of numbers between 0 and 1.
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.
An integer representing the dose-level that is
recommended for the next patient or cohort. Contrast to
modal_mtd_candidate
.
Object crm_params
containing data passed to
sampling
.
An object of class stanfit
,
containing the posterior samples.
An optional data.frame
like object of samples.
See methods(class = "crm_fit")
for an overview of available
methods.
stan_crm