A(n experimental) framework for defining a prior in R

inla.rprior.define(rprior = NULL, ...)

Arguments

rprior

An R-function returning the log-prior evaluated at its argument

...

Named list of variables that will be in the environment of rprior

Value

An inla.rprior-object which can be used as a prior

Author

Havard Rue hrue@r-inla.org

Examples


 ## see example in inla.doc("rprior")