Description Usage Arguments Details Author(s) Examples
BUGS2Rtranslator translates probabilty density functions from BUGS to R.
1 | BUGS2RTranslator(bugsname = "norm", bugsparameters = list(c(1, 1)))
|
bugsnames |
a list/vector of model names (as characters) |
bugsparameters |
a list of model parameters which correspond to the models in bugsnames and are in the correct and standard order (e.g. c(mu, sigma)). |
Given a list of functions and optionally a list of parameters, BUGS2Rtranslator will return the corresponding functions in R and translate the parameters from their BUGS formulation into a R compatible form.
Marco D. Visser
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.