BUGS2RTranslator: translates from BUGS to R

Description Usage Arguments Details Author(s) Examples

Description

BUGS2Rtranslator translates probabilty density functions from BUGS to R.

Usage

1
BUGS2RTranslator(bugsname = "norm", bugsparameters = list(c(1, 1)))

Arguments

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)).

Details

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.

Author(s)

Marco D. Visser

Examples

1
bugs2rTranslator("norm",list(c(10,100)))

MarcoDVisser/dMCMC documentation built on May 7, 2019, 2:49 p.m.