setupPrecMatStruct: setupPrecMatStruct function

Description Usage Arguments Value References

Description

A function to set up the computational grid and precision matrix structure for SPDE models.

Usage

1
setupPrecMatStruct(shape, cellwidth, no)

Arguments

shape

an object of class SpatialPolygons or SpatialPolygonsDataFrame

cellwidth

a scalar, the width of the grid cells

no

the order of the SPDE approximation: see Lindgren et al 2011 for details

Value

the computational grid and a function for constructing the precision matrix

References

  1. Benjamin M. Taylor. Auxiliary Variable Markov Chain Monte Carlo for Spatial Survival and Geostatistical Models. Benjamin M. Taylor. Submitted. http://arxiv.org/abs/1501.01665

  2. Finn Lindgren, Havard Rue, Johan Lindstrom. An explicit link between Gaussian fields and Gaussian Markov random fields: the stochastic partial differential equation approach. Journal of the Royal Statistical Society: Series B 73(4)


bentaylor1/spatsurv documentation built on May 12, 2019, 3:02 p.m.