Description Usage Arguments Value Author(s)
A framework for defining latent models in R
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | inla.rgeneric.define(model = NULL, debug = FALSE, ...)
inla.rgeneric.iid.model(
cmd = c("graph", "Q", "mu", "initial", "log.norm.const", "log.prior", "quit"),
theta = NULL)
inla.rgeneric.ar1.model(
cmd = c("graph", "Q", "mu", "initial", "log.norm.const", "log.prior", "quit"),
theta = NULL)
inla.rgeneric.wrapper(
cmd = c("graph", "Q", "mu", "initial", "log.norm.const", "log.prior", "quit"),
model, theta = NULL)
inla.rgeneric.q(
rmodel,
cmd = c("graph", "Q", "mu", "initial", "log.norm.const", "log.prior", "quit"),
theta = NULL)
|
model |
The definition of the model; see |
rmodel |
The rgeneric model-object, the output of |
debug |
Logical. Turn on/off debugging |
cmd |
An allowed request |
theta |
Values of theta |
... |
Named list of variables that defines the environment of |
debug |
Logical. Enable debug output |
This allows a latent model to be
defined in R
.
See inla.rgeneric.ar1.model
and
inla.rgeneric.iid.model
and the documentation for
worked out examples of how to define latent models in this way.
This will be somewhat slow and is intended for special cases and
protyping. The function inla.rgeneric.wrapper
is for
internal use only.
Havard Rue hrue@r-inla.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.