rprior {INLA} | R Documentation

## Define prior in R

### Description

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

### Usage

    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(s)

Havard Rue hrue@r-inla.org

### Examples

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

[Package INLA version 26.08.22 Index]