rgeneric {INLAtools}R Documentation

Define rgeneric methods.

Description

Define rgeneric methods.

The rgeneric default method.

Usage

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

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

Arguments

model

the model defined as a function. See the 'rgeneric' vignette from the INLA package.

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 arguments to be used internally for the model, for example, additional data.

Value

a inla.rgeneric object.


[Package INLAtools version 0.0.4 Index]