Learn R Programming

geostatsp (version 2.0.6)

conditionalGmrf: Conditional distribution of GMRF

Description

Distribution of Gaussian Markov Random Field conditional on data observed with noise on the same grid.

Usage

conditionalGmrf(param, Yvec, Xmat, NN, 
	template = NULL, mc.cores = 1, 
	cellsPerLoop = 10, ...)

Value

Raster image with layers containing conditional mean and standard deviation.

Arguments

param

vector of named parameters

Yvec

vector of observed data, or matrix with each column being a realisation.

Xmat

Matrix of covariates.

NN

nearest neighbour matrix

template

Raster on which the GMRF is defined

mc.cores

passed to mclapply

cellsPerLoop

number of cells to compute simultaneously. Larger values consume more memory but result in faster computation.

...

additional arguments passed to maternGmrfPrec

Author

Patrick Brown

See Also

maternGmrfPrec, lgm