Skip to contents

get.precision.matrix allows to create a precision matrix based on a grid.

Usage

get.precision.matrix(grid, h, nu, rho, delta, matern = TRUE, diagonal = FALSE)

Arguments

grid

a grid object of class momo.grid as returned by the function create.grid.

h

parameter of the matern covariance structure.

nu

parameter of the matern covariance structure.

rho

parameter of the matern covariance structure.

delta

parameter of the matern covariance structure.

matern

logical; if TRUE (default), matern covariance structure is used for simulation of environmental fields.

diagonal

logical; if TRUE, diagonal neighbours are considered in neighbouring structure. Default: FALSE.

Value

A precision matrix.