Skip to contents

Core spatial models

spLM()
Function for fitting univariate Bayesian spatial regression models
spGLM()
Function for fitting univariate Bayesian generalized linear spatial regression models
spMvLM()
Function for fitting multivariate Bayesian spatial regression models
spMvGLM()
Function for fitting multivariate Bayesian generalized linear spatial regression models
spSVC()
Function for fitting univariate Bayesian spatially-varying coefficient regression models
spDynLM()
Function for fitting univariate Bayesian dynamic space-time regression models

Prediction, recovery, and diagnostics

spPredict()
Function for new locations given a model object
spRecover()
Function for recovering regression coefficients and spatial random effects for spLM, spMvLM, spMisalignLM, spSVC using composition sampling
spDiag()
Model fit diagnostics
mkSpCov()
Function for calculating univariate and multivariate covariance matrices
mkMvX()
Make a multivariate design matrix
iDist()
Euclidean distance matrix
pointsInPoly()
Finds points in a polygon

Bayesian regression utilities

bayesLMRef()
Simple Bayesian linear model with non-informative priors
bayesGeostatExact()
Simple Bayesian spatial linear model with fixed semivariogram parameters
bayesLMConjugate()
Simple Bayesian linear model via the Normal/inverse-Gamma conjugate
adaptMetropGibbs()
Adaptive Metropolis within Gibbs algorithm

Misaligned data models

spMisalignLM()
Function for fitting multivariate Bayesian spatial regression models to misaligned data
spMisalignGLM()
Function for fitting multivariate generalized linear Bayesian spatial regression models to misaligned data

Data

BEF.dat
Bartlett Experimental Forest inventory data
FBC07.dat
Synthetic multivariate data with spatial and non-spatial variance structures
FORMGMT.dat
Data used for illustrations
NETemp.dat
Monthly weather station temperature data across the Northeastern US
NYOzone.dat
Observations of ozone concentration levels.
PM10.dat
Observed and modeled PM10 concentrations across Europe
SVCMvData.dat
Synthetic data from a space-varying coefficients model
WEF.dat
Western Experimental Forest inventory data
Zurich.dat
Zurichberg Forest inventory data
PM10.poly
European countries used in PM10.dat