neighLocs: neighLocs function

Description Usage Arguments Value References

View source: R/GMRF.R

Description

A function used in the computation of neighbours on non-rectangular grids. Not intended for general use.

Usage

1
neighLocs(coord, cellwidth, order)

Arguments

coord

coordinate of interest

cellwidth

a scalar, the width of the grid cells

order

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

Value

coordinates of centroids of neighbours

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 11, 2017, 7:14 a.m.