rgeneric: rgeneric models

Description Usage Arguments Value Author(s)

Description

A framework for defining latent models in R

Usage

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)

Arguments

model.def

The definition of the model; see inla.rgeneric.ar1.model

cmd

The allowed commands

theta

Values of theta

args

Further args

...

Further args

Value

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.

Author(s)

Havard Rue hrue@math.ntnu.no


andrewzm/INLA documentation built on May 10, 2019, 11:12 a.m.