replace.prior | R Documentation |
Identical to replace.prior()
in MBNMAdose.
replace.prior(priors, model = NULL, mbnma = NULL)
priors |
A named list of parameter values (without indices) and replacement prior distribution values given as strings using distributions as specified in JAGS syntax (see \insertCitejagsmanual;textualMBNMAtime). |
model |
A character object of JAGS MBNMA model code |
mbnma |
An S3 object of class |
This function takes new priors, as specified by the user, and adds them to the JAGS code from an MBNMA model. New priors replace old priors in the JAGS model.
Values in priors
can include any JAGS functions/distributions
(e.g. censoring/truncation).
A character object of JAGS MBNMA model code that includes the new priors in place of original priors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.