# Spatial Dependence: Weighting Schemes, Statistics

## Documentation for package ‘spdep’ version 1.1-3

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

A B C D E F G H I J K L M N O P Q R S T U V W

## -- A --

aggregate.nb | Aggregate a spatial neighbours object
airdist | Measure distance from plot
anova.sarlm | Deprecated Functions in Package 'spdep'
aple | Approximate profile-likelihood estimator (APLE)
aple.mc | Approximate profile-likelihood estimator (APLE) permutation test
aple.plot | Approximate profile-likelihood estimator (APLE) scatterplot
as.data.frame.localmoranex | Exact local Moran's Ii tests
as.data.frame.localmoransad | Saddlepoint approximation of local Moran's Ii tests
as.data.frame.sarlm.pred | Deprecated Functions in Package 'spdep'
as.spam.listw | Deprecated Functions in Package 'spdep'
as_dgRMatrix_listw | Deprecated Functions in Package 'spdep'
as_dsCMatrix_I | Deprecated Functions in Package 'spdep'
as_dsCMatrix_IrW | Deprecated Functions in Package 'spdep'
as_dsTMatrix_listw | Deprecated Functions in Package 'spdep'
autocov_dist | Distance-weighted autocovariate

## -- B --

bbs | Columbus OH spatial analysis data set
bhicv | Data set with 4 life condition indices of Belo Horizonte region
bptest.sarlm | Deprecated Functions in Package 'spdep'

## -- C --

can.be.simmed | Deprecated Functions in Package 'spdep'
card | Cardinalities for neighbours lists
cell2nb | Generate neighbours list for grid cells
cheb_setup | Deprecated Functions in Package 'spdep'
chkIDs | Control checking of spatial object IDs
choynowski | Choynowski probability map values
coef.gmsar | Deprecated Functions in Package 'spdep'
coef.lagmess | Deprecated Functions in Package 'spdep'
coef.sarlm | Deprecated Functions in Package 'spdep'
coef.spautolm | Deprecated Functions in Package 'spdep'
coef.stsls | Deprecated Functions in Package 'spdep'
coerce-method | Deprecated Functions in Package 'spdep'
col.gal.nb | Columbus OH spatial analysis data set
COL.nb | Columbus OH spatial analysis data set - old numbering
COL.OLD | Columbus OH spatial analysis data set - old numbering
columbus | Columbus OH spatial analysis data set
complement.nb | Set operations on neighborhood objects
coords | Columbus OH spatial analysis data set
create_WX | Deprecated Functions in Package 'spdep'

## -- D --

deviance.gmsar | Deprecated Functions in Package 'spdep'
deviance.lagmess | Deprecated Functions in Package 'spdep'
deviance.sarlm | Deprecated Functions in Package 'spdep'
deviance.spautolm | Deprecated Functions in Package 'spdep'
deviance.stsls | Deprecated Functions in Package 'spdep'
df2sn | Use vector files for import and export of weights
diffnb | Differences between neighbours lists
dnearneigh | Neighbourhood contiguity by distance
do_ldet | Deprecated Functions in Package 'spdep'
droplinks | Drop links in a neighbours list

## -- E --

EBest | Global Empirical Bayes estimator
EBImoran | Permutation test for empirical Bayes index
EBImoran.mc | Permutation test for empirical Bayes index
EBlocal | Local Empirical Bayes estimator
edit.nb | Interactive editing of neighbours lists
eigenw | Deprecated Functions in Package 'spdep'
eigen_pre_setup | Deprecated Functions in Package 'spdep'
eigen_setup | Deprecated Functions in Package 'spdep'
eire | Eire data sets
eire.coords.utm | Eire data sets
eire.df | Eire data sets
eire.nb | Eire data sets
eire.polys.utm | Eire data sets
errorsarlm | Deprecated Functions in Package 'spdep'

## -- F --

fitted.gmsar | Deprecated Functions in Package 'spdep'
fitted.lagmess | Deprecated Functions in Package 'spdep'
fitted.ME_res | Deprecated Functions in Package 'spdep'
fitted.sarlm | Deprecated Functions in Package 'spdep'
fitted.SFResult | Deprecated Functions in Package 'spdep'
fitted.spautolm | Deprecated Functions in Package 'spdep'

## -- G --

gabrielneigh | Graph based spatial weights
geary | Compute Geary's C
geary.mc | Permutation test for Geary's C statistic
geary.test | Geary's C test for spatial autocorrelation
get.ClusterOption | Options for parallel support
get.coresOption | Options for parallel support
get.listw_is_CsparseMatrix_Option | Control checking of spatial object IDs
get.mcOption | Options for parallel support
get.spChkOption | Control checking of spatial object IDs
get.VerboseOption | Control checking of spatial object IDs
get.ZeroPolicyOption | Control checking of spatial object IDs
globalG.test | Global G test for spatial autocorrelation
GMargminImage | Deprecated Functions in Package 'spdep'
GMerrorsar | Deprecated Functions in Package 'spdep'
graph2nb | Graph based spatial weights
grid2nb | Construct neighbours for a GridTopology
griffith_sone | Deprecated Functions in Package 'spdep'
gstsls | Deprecated Functions in Package 'spdep'

## -- H --

Hausman.test | Deprecated Functions in Package 'spdep'
Hausman.test.gmsar | Deprecated Functions in Package 'spdep'
Hausman.test.sarlm | Deprecated Functions in Package 'spdep'
HPDinterval.lagImpact | Deprecated Functions in Package 'spdep'

## -- I --

impacts | Deprecated Functions in Package 'spdep'
impacts.lagmess | Deprecated Functions in Package 'spdep'
impacts.MCMC_sac_g | Deprecated Functions in Package 'spdep'
impacts.MCMC_sar_g | Deprecated Functions in Package 'spdep'
impacts.MCMC_sem_g | Deprecated Functions in Package 'spdep'
impacts.sarlm | Deprecated Functions in Package 'spdep'
impacts.SLX | Deprecated Functions in Package 'spdep'
impacts.stsls | Deprecated Functions in Package 'spdep'
include.self | Include self in neighbours list
intersect.nb | Set operations on neighborhood objects
intImpacts | Deprecated Functions in Package 'spdep'
invIrM | Compute SAR generating operator
invIrW | Compute SAR generating operator
is.symmetric.glist | Test a neighbours list for symmetry
is.symmetric.nb | Test a neighbours list for symmetry

## -- J --

jacobianSetup | Deprecated Functions in Package 'spdep'
Jacobian_W | Deprecated Functions in Package 'spdep'
joincount.mc | Permutation test for same colour join count statistics
joincount.multi | BB, BW and Jtot join count statistic for k-coloured factors
joincount.test | BB join count statistic for k-coloured factors

## -- K --

knearneigh | K nearest neighbours for spatial weights
knn2nb | Neighbours list from knn object

## -- L --

lag.listw | Spatial lag of a numeric vector
lagmess | Deprecated Functions in Package 'spdep'
lagsarlm | Deprecated Functions in Package 'spdep'
lee | Compute Lee's statistic
lee.mc | Permutation test for Lee's L statistic
lee.test | Lee's L test for spatial autocorrelation
lextrB | Deprecated Functions in Package 'spdep'
lextrS | Deprecated Functions in Package 'spdep'
lextrW | Deprecated Functions in Package 'spdep'
listw2lines | Use vector files for import and export of weights
listw2mat | Spatial weights matrices for neighbours lists
listw2sn | Spatial neighbour sparse representation
listw2star | Saddlepoint approximation of local Moran's Ii tests
listw2U | Moran's I test for residual spatial autocorrelation
listw2WB | Output spatial weights for WinBUGS
lm.LMtests | Lagrange Multiplier diagnostics for spatial dependence in linear models
lm.morantest | Moran's I test for residual spatial autocorrelation
lm.morantest.exact | Exact global Moran's I test
lm.morantest.sad | Saddlepoint approximation of global Moran's I test
lmSLX | Deprecated Functions in Package 'spdep'
localAple | Approximate profile-likelihood estimator (APLE) scatterplot
localG | G and Gstar local spatial statistics
localmoran | Local Moran's I statistic
localmoran.exact | Exact local Moran's Ii tests
localmoran.exact.alt | Exact local Moran's Ii tests
localmoran.sad | Saddlepoint approximation of local Moran's Ii tests
logLik.lagmess | Deprecated Functions in Package 'spdep'
logLik.sarlm | Deprecated Functions in Package 'spdep'
logLik.spautolm | Deprecated Functions in Package 'spdep'
LOSH | Local spatial heteroscedasticity
LOSH.cs | Chi-square based test for local spatial heteroscedasticity
LOSH.mc | Bootstrapping-based test for local spatial heteroscedasticity
LR.sarlm | Deprecated Functions in Package 'spdep'
LR1.sarlm | Deprecated Functions in Package 'spdep'
LR1.spautolm | Deprecated Functions in Package 'spdep'
LU_prepermutate_setup | Deprecated Functions in Package 'spdep'
LU_setup | Deprecated Functions in Package 'spdep'
l_max | Deprecated Functions in Package 'spdep'

## -- M --

make.sym.nb | Test a neighbours list for symmetry
mat2listw | Convert a square spatial weights matrix to a weights list object
Matrix_J_setup | Deprecated Functions in Package 'spdep'
Matrix_setup | Deprecated Functions in Package 'spdep'
mcdet_setup | Deprecated Functions in Package 'spdep'
MCMCsamp | Deprecated Functions in Package 'spdep'
MCMCsamp.sarlm | Deprecated Functions in Package 'spdep'
MCMCsamp.spautolm | Deprecated Functions in Package 'spdep'
ME | Deprecated Functions in Package 'spdep'
moments_setup | Deprecated Functions in Package 'spdep'
mom_calc | Deprecated Functions in Package 'spdep'
mom_calc_int2 | Deprecated Functions in Package 'spdep'
moran | Compute Moran's I
moran.mc | Permutation test for Moran's I statistic
moran.plot | Moran scatterplot
moran.test | Moran's I test for spatial autocorrelation
mrc2vi | Generate neighbours list for grid cells
mstree | Find the minimal spanning tree

## -- N --

n.comp.nb | Depth First Search on Neighbor Lists
nb2blocknb | Block up neighbour list for location-less observations
nb2INLA | Output spatial neighbours for INLA
nb2lines | Use vector files for import and export of weights
nb2listw | Spatial weights for neighbours lists
nb2mat | Spatial weights matrices for neighbours lists
nb2WB | Output spatial weights for WinBUGS
nbcost | Compute cost of edges
nbcosts | Compute cost of edges
nbdists | Spatial link distance measures
nblag | Higher order neighbours lists
nblag_cumul | Higher order neighbours lists

## -- O --

old.make.sym.nb | Test a neighbours list for symmetry
oldcol | Columbus OH spatial analysis data set - old numbering

## -- P --

p.adjustSP | Adjust local association measures' p-values
plot.Gabriel | Graph based spatial weights
plot.lagImpact | Deprecated Functions in Package 'spdep'
plot.listw | Plot a neighbours list
plot.mc.sim | Mantel-Hubert spatial general cross product statistic
plot.mst | Plot the Minimum Spanning Tree
plot.nb | Plot a neighbours list
plot.relative | Graph based spatial weights
plot.skater | Plot the object of skater class
plot.spcor | Spatial correlogram
poly2nb | Construct neighbours list from polygon list
polys | Columbus OH spatial analysis data set
powerWeights | Deprecated Functions in Package 'spdep'
predict.sarlm | Deprecated Functions in Package 'spdep'
predict.SLX | Deprecated Functions in Package 'spdep'
print.gmsar | Deprecated Functions in Package 'spdep'
print.jclist | BB join count statistic for k-coloured factors
print.jcmulti | BB, BW and Jtot join count statistic for k-coloured factors
print.lagImpact | Deprecated Functions in Package 'spdep'
print.lagmess | Deprecated Functions in Package 'spdep'
print.listw | Print and summary function for neighbours and weights lists
print.LMtestlist | Lagrange Multiplier diagnostics for spatial dependence in linear models
print.LMtestlist.summary | Lagrange Multiplier diagnostics for spatial dependence in linear models
print.localmoranex | Exact local Moran's Ii tests
print.localmoransad | Saddlepoint approximation of local Moran's Ii tests
print.ME_res | Deprecated Functions in Package 'spdep'
print.moranex | Exact global Moran's I test
print.moransad | Saddlepoint approximation of global Moran's I test
print.nb | Print and summary function for neighbours and weights lists
print.sarlm | Deprecated Functions in Package 'spdep'
print.sarlm.pred | Deprecated Functions in Package 'spdep'
print.SFResult | Deprecated Functions in Package 'spdep'
print.spautolm | Deprecated Functions in Package 'spdep'
print.spcor | Spatial correlogram
print.stsls | Deprecated Functions in Package 'spdep'
print.summary.gmsar | Deprecated Functions in Package 'spdep'
print.summary.lagImpact | Deprecated Functions in Package 'spdep'
print.summary.lagmess | Deprecated Functions in Package 'spdep'
print.summary.localmoransad | Saddlepoint approximation of local Moran's Ii tests
print.summary.moransad | Saddlepoint approximation of global Moran's I test
print.summary.sarlm | Deprecated Functions in Package 'spdep'
print.summary.spautolm | Deprecated Functions in Package 'spdep'
print.summary.stsls | Deprecated Functions in Package 'spdep'
probmap | Probability mapping for rates
prunecost | Compute cost of prune each edge
prunemst | Prune a Minimun Spanning Tree

## -- Q --

queencell | Generate neighbours list for grid cells

## -- R --

read.dat2listw | Read and write spatial neighbour files
read.gal | Read a GAL lattice file into a neighbours list
read.geoda | Read a GAL lattice file into a neighbours list
read.gwt2nb | Read and write spatial neighbour files
relativeneigh | Graph based spatial weights
residuals.gmsar | Deprecated Functions in Package 'spdep'
residuals.lagmess | Deprecated Functions in Package 'spdep'
residuals.sarlm | Deprecated Functions in Package 'spdep'
residuals.spautolm | Deprecated Functions in Package 'spdep'
residuals.stsls | Deprecated Functions in Package 'spdep'
rookcell | Generate neighbours list for grid cells
Rotation | Rotate a set of point by a certain angle

## -- S --

sacsarlm | Deprecated Functions in Package 'spdep'
set.ClusterOption | Options for parallel support
set.coresOption | Options for parallel support
set.listw_is_CsparseMatrix_Option | Control checking of spatial object IDs
set.mcOption | Options for parallel support
set.spChkOption | Control checking of spatial object IDs
set.VerboseOption | Control checking of spatial object IDs
set.ZeroPolicyOption | Control checking of spatial object IDs
setdiff.nb | Set operations on neighborhood objects
SE_classic_setup | Deprecated Functions in Package 'spdep'
SE_interp_setup | Deprecated Functions in Package 'spdep'
SE_whichMin_setup | Deprecated Functions in Package 'spdep'
similar.listw | Deprecated Functions in Package 'spdep'
skater | Spatial 'K'luster Analysis by Tree Edge Removal
sn2listw | Spatial neighbour sparse representation
soi.graph | Graph based spatial weights
sp.correlogram | Spatial correlogram
sp.mantel.mc | Mantel-Hubert spatial general cross product statistic
spam_setup | Deprecated Functions in Package 'spdep'
spam_update_setup | Deprecated Functions in Package 'spdep'
SpatialFiltering | Deprecated Functions in Package 'spdep'
spautolm | Deprecated Functions in Package 'spdep'
spBreg_err | Deprecated Functions in Package 'spdep'
spBreg_lag | Deprecated Functions in Package 'spdep'
spBreg_sac | Deprecated Functions in Package 'spdep'
spdep | Return package version number
spdep-deprecated | Deprecated Functions in Package 'spdep'
spNamedVec | Control checking of spatial object IDs
spweights.constants | Provides constants for spatial weights matrices
ssw | Compute the sum of dissimilarity
stsls | Deprecated Functions in Package 'spdep'
subgraph_eigenw | Deprecated Functions in Package 'spdep'
subset.listw | Subset a spatial weights list
subset.nb | Subset a neighbours list
summary.gmsar | Deprecated Functions in Package 'spdep'
summary.lagImpact | Deprecated Functions in Package 'spdep'
summary.lagmess | Deprecated Functions in Package 'spdep'
summary.listw | Print and summary function for neighbours and weights lists
summary.LMtestlist | Lagrange Multiplier diagnostics for spatial dependence in linear models
summary.localmoransad | Saddlepoint approximation of local Moran's Ii tests
summary.moransad | Saddlepoint approximation of global Moran's I test
summary.nb | Print and summary function for neighbours and weights lists
summary.sarlm | Deprecated Functions in Package 'spdep'
summary.spautolm | Deprecated Functions in Package 'spdep'
summary.stsls | Deprecated Functions in Package 'spdep'
sym.attr.nb | Test a neighbours list for symmetry
Szero | Provides constants for spatial weights matrices

## -- T --

tolerance.nb | Function to construct edges based on a tolerance angle and a maximum distance
tri2nb | Neighbours list from tri object
trW | Deprecated Functions in Package 'spdep'

## -- U --

union.nb | Set operations on neighborhood objects

## -- V --

vcov.sarlm | Deprecated Functions in Package 'spdep'
vi2mrc | Generate neighbours list for grid cells

## -- W --

Wald1.sarlm | Deprecated Functions in Package 'spdep'
write.nb.gal | Write a neighbours list as a GAL lattice file
write.sn2dat | Read and write spatial neighbour files
write.sn2gwt | Read and write spatial neighbour files