Class of dose-finding model fit by trialr using Stan.
dose_finding_fit(
dose_indices,
num_patients,
doses,
tox,
prob_tox,
median_prob_tox,
recommended_dose,
dat,
fit
)
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.
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.
An integer representing the dose-level that is recommended for the next patient or cohort.
Object crm_params
containing data passed to
sampling
.
An object of class stanfit
,
containing the posterior samples.
crm_fit
,
efftox_fit