Description Usage Arguments Value Author(s)
A framework for defining latent models in R
1 2 3 4 5 | inla.rgeneric.define(model.def = NULL, ...)
inla.rgeneric.ar1.model(
cmd = c("graph", "Q", "initial", "log.norm.const", "log.prior", "quit"),
theta = NULL,
args = NULL)
|
model.def |
The definition of the model; see |
cmd |
The allowed commands |
theta |
Values of theta |
args |
Further args |
... |
Further args |
This is a test-implementation of how a latent model can be
defined within R, and details would likely change in the future.
See inla.rgeneric.ar1.model
and the documentation for a
worked through example of how to define the AR1 model this way.
Using this function require the multicore
-package, and
only runs smoothly under Linux.
Havard Rue hrue@math.ntnu.no
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.