Identical to replace.prior()
in MBNMAdose.
replace.prior(priors, model = NULL, mbnma = NULL)
A character object of JAGS MBNMA model code that includes the new priors in place of original 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 jagsmanual;textualMBNMAtime).
A character object of JAGS MBNMA model code
An S3 object of class c("mbnma", "rjags")
generated by running a
time-course MBNMA model.
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).