inla.spde.models {INLA}R Documentation

List SPDE models supported by inla.spde objects

Description

List SPDE models supported by inla.spde objects

Usage

inla.spde.models(function.names = FALSE)

inla.spde1.models()

inla.spde2.models()

Arguments

function.names

If FALSE, return list model name lists. If TRUE, return list of model object constructor function names.

Details

Returns a list of available SPDE model type name lists, one for each inla.spde model class (currently inla.spde1() and inla.spde2()).

Value

List of available SPDE model type name lists.

Author(s)

Finn Lindgren finn.lindgren@gmail.com

Examples

## Not run: 
## Display help for each supported inla.spde2 model:
for (model1 in inla.spde2.models()) {
    print(help(paste("inla.spde2.", model1, sep = "")))
}

## Display help for each supported inla.spde* model:
models <- inla.spde.models()
for (type in names(models)) {
   for (model2 in models[[type]]) {
       print(help(paste("inla.", type, ".", model2, sep = "")))
   }
}

## Display help for each supported inla.spde* model (equivalent to above):
for (model3 in inla.spde.models(function.names = TRUE)) {
    print(help(model3))
}

## End(Not run)

[Package INLA version 26.08.07 Index]