View source: R/Model-methods.R
| h_prob_two_drugs_combo_single_samples | R Documentation |
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)
samples |
( |
model |
( |
drug_index |
( |
A Samples object for the requested single-agent model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.