findRprior: Finds priors and translates these from BUGS to R

Description Usage Arguments Details Author(s)

Description

findRprior seives through your model files to find and translate your priors to proper R probabilty density functions.

Usage

1
findRprior(model = NULL, interest = NULL, silent = FALSE)

Arguments

interest

a set of parameters to produce

model

the path to the BUGs/JAGS model text file with the priors specified. This model must be the one that generated the MCMC list.

Details

Given a model file and a the name of the prior findRprior will return the corresponding functions in R and translate the parameters from their BUGS formulation into a R compatable form.

Author(s)

Marco D. Visser


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