rgeneric-class: Organize data for the latent GMRF R interface for 'INLA'.

rgeneric-classR Documentation

Organize data for the latent GMRF R interface for INLA.

Description

Organize data for the latent GMRF R interface for INLA.

The rgeneric default method.

Usage

rgeneric(model, debug = FALSE, compile = TRUE, optimize = TRUE, ...)

## Default S3 method:
rgeneric(model, debug = FALSE, compile = TRUE, optimize = TRUE, ...)

## S3 method for class 'rgeneric'
rgeneric(model, ...)

## S3 method for class 'inla.rgeneric'
rgeneric(model, ...)

## S3 method for class 'rgeneric'
graph(model, ...)

## S3 method for class 'rgeneric'
prec(model, ...)

## S3 method for class 'rgeneric'
initial(model)

## S3 method for class 'rgeneric'
mu(model, theta)

## S3 method for class 'rgeneric'
prior(model, theta)

Arguments

model

a rgeneric model object

debug

logical indicating debug state.

compile

logical indicating to compile the model.

optimize

logical indicating if only the elements of the precision matrix are returned.

...

additional parameter such as 'theta' If 'theta' is not supplied, initial will be taken.

theta

the parameter.

Value

rgeneric/ inla.rgeneric object.

Functions

  • rgeneric(rgeneric): Returns the model object unchanged.

  • rgeneric(inla.rgeneric): Converts a regular inla.rgeneric object to rgeneric.

  • graph(rgeneric): The graph method for 'rgeneric'

  • prec(rgeneric): The precision method for an rgeneric object.

  • initial(rgeneric): The initial method for 'rgeneric'

  • mu(rgeneric): The mu method for 'rgeneric'

  • prior(rgeneric): The prior metho for 'rgeneric'


INLAtools documentation built on Nov. 20, 2025, 5:07 p.m.