Converts posterior draws from a TwoDrugsCombo fit back to the sample
shape expected by one of its single-agent models. Shared scalar sample names,
such as alpha0 and alpha1, are stored as matrices in combo samples and
sliced by drug. Parameters that are already model-specific matrix-valued
samples, such as mixture-model parameters, are kept intact.
h_prob_two_drugs_combo_single_samples(samples, model, drug_index)A Samples object for the requested single-agent model.
(Samples)
combo model samples.
(TwoDrugsCombo)
combo model.
(integer)
index of the single-agent model to extract.