spde.matrices {RGeostats}R Documentation

Build and return the Precision matrix

Description

Build and return the Precision matrix

Usage

spde.matrices(dbin=NA, dbout=NA, model, triswitch="nqQ", nostat=NA, gext=NA,
              points=NA, meshes=NA, 
              flag.Q=FALSE, flag.G=TRUE, flag.std=FALSE, flag.blin=FALSE,
              verbose = FALSE)

Arguments

dbin

The db-class structure containing the input data.

dbout

The db-class structure which contains the results.

model

The model-class describing the spatial characteristics.

triswitch

Command line for the internal triangulation step. For more information see meshing.

nostat

List of non-stationary parameters. For details see model.param.define.

gext

When 'dbout' is organized as a grid, it may be dilated by gext. This argument designates an array, with its dimension equal to the dimension of the space and which contains the extension defined in number of grid nodes. If not defined, the grid is not dilated and the simulated results may suffer some edge effect problems.

points,meshes

Arguments resulting from the triangulation step. See check.mesh for explanations.

flag.Q

When TRUE, the Q sparse matrix is output (in triplet format).

flag.G

When TRUE, the B and G sparse matrices (in triplet format), as well as the TildeC and Lambda vectors are output.

flag.std

When TRUE, the Vars vector is output.

flag.blin

When TRUE, the blin vector is output.

verbose

Verbose flag.

Value

Several vectors or matrices used in the SPDE framework are provided such as:

Note that:

All matrices are sparse. They are returned in the 'triplet' form. Each non-zero element of the sparse matrix is specified by its row, column and the item value.


[Package RGeostats version 11.1.1 Index]