inla.spde.precision: Precision matrices for SPDE models

Description Usage Arguments Value Author(s) See Also

View source: R/spde.common.R

Description

Calculates the precision matrix for given parameter values based on an inla.spde model object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
inla.spde.precision(...)

## S3 method for class 'inla.spde2'
inla.spde.precision(spde,
                    theta = NULL,
                    phi0 = inla.spde2.theta2phi0(spde, theta),
                    phi1 = inla.spde2.theta2phi1(spde, theta),
                    phi2 = inla.spde2.theta2phi2(spde, theta), ...)
inla.spde2.precision(spde,
                     theta = NULL,
                     phi0 = inla.spde2.theta2phi0(spde, theta),
                     phi1 = inla.spde2.theta2phi1(spde, theta),
                     phi2 = inla.spde2.theta2phi2(spde, theta), ...)

## For deprecated inla.spde1 models:
## S3 method for class 'inla.spde1'
inla.spde.precision(spde, ...)
inla.spde1.precision(spde, ...)

Arguments

spde

An inla.spde object.

theta

The parameter vector.

phi0

Internal parameter for a generic model. Expert option only.

phi1

Internal parameter for a generic model. Expert option only.

phi2

Internal parameter for a generic model. Expert option only.

...

Additional parameters passed on to other methods.

Value

A sparse precision matrix.

Author(s)

Finn Lindgren finn.lindgren@gmail.com

See Also

inla.spde.models, inla.spde2.generic, inla.spde2.theta2phi0, inla.spde2.theta2phi1, inla.spde2.theta2phi2


inbo/INLA documentation built on Dec. 6, 2019, 9:51 a.m.