Spatial Dependence: Weighting Schemes, Statistics and Models

A collection of functions to create spatial weights matrix objects from polygon 'contiguities', from point patterns by distance and tessellations, for summarizing these objects, and for permitting their use in spatial data analysis, including regional aggregation by minimum spanning tree; a collection of tests for spatial 'autocorrelation', including global 'Morans I', 'APLE', 'Gearys C', 'Hubert/Mantel' general cross product statistic, Empirical Bayes estimates and 'Assunção/Reis' Index, 'Getis/Ord' G and multicoloured join count statistics, local 'Moran's I' and 'Getis/Ord' G, 'saddlepoint' approximations, exact tests for global and local 'Moran's I' and 'LOSH' local indicators of spatial heteroscedasticity; and functions for estimating spatial simultaneous 'autoregressive' ('SAR') lag and error models, impact measures for lag models, weighted and 'unweighted' 'SAR' and 'CAR' spatial regression models, semi-parametric and Moran 'eigenvector' spatial filtering, 'GM SAR' error models, and generalized spatial two stage least squares models.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.8-1 by Roger Bivand, 19 days ago

Report a bug at

Browse source code at

Authors: Roger Bivand [cre, aut] , Micah Altman [ctb] , Luc Anselin [ctb] , Renato Assunção [ctb] , Olaf Berke [ctb] , Andrew Bernat [ctb] , Guillaume Blanchet [ctb] , Eric Blankmeyer [ctb] , Marilia Carvalho [ctb] , Bjarke Christensen [ctb] , Yongwan Chun [ctb] , Carsten Dormann [ctb] , Stéphane Dray [ctb] , Virgilio Gómez-Rubio [ctb] , Martin Gubri [ctb] , Rein Halbersma [ctb] , Elias Krainski [ctb] , Pierre Legendre [ctb] , Nicholas Lewin-Koh [ctb] , Hongfei Li [ctb] , Jielai Ma [ctb] , Abhirup Mallik [ctb, trl] , Giovanni Millo [ctb] , Werner Mueller [ctb] , Hisaji Ono [ctb] , Pedro Peres-Neto [ctb] , Gianfranco Piras [ctb] , Markus Reder [ctb] , Michael Tiefelsdorf [ctb] , René Westerholt [ctb] , Danlin Yu [ctb]

Documentation:   PDF Manual  

Task views: Econometrics, Analysis of Spatial Data

GPL (>= 2) license

Imports LearnBayes, deldir, boot, splines, coda, nlme, MASS, stats, gmodels, expm, graphics, grDevices, utils

Depends on methods, sp, Matrix, spData

Suggests sf, parallel, spam, RANN, rgeos, RColorBrewer, lattice, xtable, maptools, foreign, igraph, knitr, rgdal, classInt

Imported by CARBayes, CARBayesST, ClustGeo, DNLC, FlexScan, GeNetIt, HSAR, INLABMA, LabourMarketAreas, OasisR, PReMiuM, SUMMER, SpatialEpi, SpatialEpiApp, adegenet, adespatial, agricolae, expp, geomerge, latticeDensity, mclcar, mdsOpt, meteoland, pgirmess, redist, ref.ICAR, saeRobust, saeSim, smartR, smerc, spGARCH, spacom, spatialEco, spemd, sphet, spmoran, stampr, zooaRchGUI.

Depended on by AMOEBA, BSPADATA, Compind, DCluster, Digiroo2, GWmodel, LS2Wstat, ibeemd, lagsarlmtree, medfate, spatialprobit, spfrontier, splm, ssfa.

Suggested by ASGS.foyer, BayesX, DatabionicSwarm, FRK, Guerry, McSpatial, ProjectionBasedClustering, R2BayesX, ade4, adegraphics, bamlss, brms, constrainedKriging, diseasemapping, epiphy, gamlss.spatial, glmmBUGS, plm, prabclus, prioritizr, seg, sharpshootR, spData, spgwr, starma, subniche, surveillance, xtable.

Enhanced by MuMIn, stargazer, texreg.

See at CRAN