spdep1.3-6 package

Spatial Dependence: Weighting Schemes, Statistics

aggregate.nb

Aggregate a spatial neighbours object

airdist

Measure distance from plot

autocov_dist

Distance-weighted autocovariate

bhicv

Data set with 4 life condition indices of Belo Horizonte region

card

Cardinalities for neighbours lists

cell2nb

Generate neighbours list for grid cells

choynowski

Choynowski probability map values

COL.OLD

Columbus OH spatial analysis data set - old numbering

compon

Depth First Search on Neighbor Lists

diffnb

Differences between neighbours lists

dnearneigh

Neighbourhood contiguity by distance

droplinks

Drop and add links in a neighbours list

EBest

Global Empirical Bayes estimator

EBImoran.mc

Permutation test for empirical Bayes index

EBlocal

Local Empirical Bayes estimator

edit.nb

Interactive editing of neighbours lists

geary.mc

Permutation test for Geary's C statistic

geary

Compute Geary's C

geary.test

Geary's C test for spatial autocorrelation

globalG.test

Global G test for spatial autocorrelation

graphneigh

Graph based spatial weights

grid2nb

Construct neighbours for a GridTopology

hotspotmap

Cluster Classifications for Local Indicators of Spatial Association an...

include.self

Include self in neighbours list

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

knearneigh

K nearest neighbours for spatial weights

knn2nb

Neighbours list from knn object

lag.listw

Spatial lag of a numeric vector

lee.mc

Permutation test for Lee's L statistic

lee

Compute Lee's statistic

lee.test

Lee's L test for spatial autocorrelation

licd_multi

Local Indicators for Categorical Data

listw2sn

Spatial neighbour sparse representation

lm.morantest.exact

Exact global Moran's I test

lm.morantest

Moran's I test for residual spatial autocorrelation

lm.morantest.sad

Saddlepoint approximation of global Moran's I test

lm.RStests

Rao's score (a.k.a Lagrange Multiplier) diagnostics for spatial depend...

local_joincount_bv

Calculate the local bivariate join count

local_joincount_uni

Calculate the local univariate join count

localC

Compute Local Geary statistic

localG

G and Gstar local spatial statistics

localGS

A local hotspot statistic for analysing multiscale datasets

localmoran_bv

Compute the Local Bivariate Moran's I Statistic

localmoran.exact

Exact local Moran's Ii tests

localmoran

Local Moran's I statistic

localmoran.sad

Saddlepoint approximation of local Moran's Ii tests

LOSH.cs

Chi-square based test for local spatial heteroscedasticity

LOSH.mc

Bootstrapping-based test for local spatial heteroscedasticity

LOSH

Local spatial heteroscedasticity

mat2listw

Convert a square spatial weights matrix to a weights list object

moran_bv

Compute the Global Bivariate Moran's I

moran.mc

Permutation test for Moran's I statistic

moran.plot

Moran scatterplot

moran

Compute Moran's I

moran.test

Moran's I test for spatial autocorrelation

mstree

Find the minimal spanning tree

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

nb2listwdist

Distance-based spatial weights for neighbours lists

nb2mat

Spatial weights matrices for neighbours lists

nb2WB

Output spatial weights for WinBUGS

nbcosts

Compute cost of edges

nbdists

Spatial link distance measures

nblag

Higher order neighbours lists

nboperations

Set operations on neighborhood objects

p.adjustSP

Adjust local association measures' p-values

plot.mst

Plot the Minimum Spanning Tree

plot.nb

Plot a neighbours list

plot.skater

Plot the object of skater class

poly2nb

Construct neighbours list from polygon list

probmap

Probability mapping for rates

prunecost

Compute cost of prune each edge

prunemst

Prune a Minimun Spanning Tree

read.gal

Read a GAL lattice file into a neighbours list

read.gwt2nb

Read and write spatial neighbour files

rotation

Rotate a set of point by a certain angle

SD.RStests

Rao's score and adjusted Rao's score tests of linear hypotheses for sp...

set.mcOption

Options for parallel support

set.spChkOption

Control checking of spatial object IDs

skater

Spatial 'K'luster Analysis by Tree Edge Removal

sp.correlogram

Spatial correlogram

sp.mantel.mc

Mantel-Hubert spatial general cross product statistic

spdep-defunct

Defunct Functions in Package spdep

spdep

Return package version number

spweights.constants

Provides constants for spatial weights matrices

ssw

Compute the sum of dissimilarity

subset.listw

Subset a spatial weights list

subset.nb

Subset a neighbours list

summary.nb

Print and summary function for neighbours and weights lists

testnb

Test a neighbours list for symmetry

tolerance.nb

Function to construct edges based on a tolerance angle and a maximum d...

tri2nb

Neighbours list from tri object

write.nb.gal

Write a neighbours list as a GAL lattice file

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' and 'Gearys C' proposed by 'Cliff' and 'Ord' (1973, ISBN: 0850860369) and (1981, ISBN: 0850860814), 'Hubert/Mantel' general cross product statistic, Empirical Bayes estimates and 'Assunção/Reis' (1999) <doi:10.1002/(SICI)1097-0258(19990830)18:16%3C2147::AID-SIM179%3E3.0.CO;2-I> Index, 'Getis/Ord' G ('Getis' and 'Ord' 1992) <doi:10.1111/j.1538-4632.1992.tb00261.x> and multicoloured join count statistics, 'APLE' ('Li 'et al.' ) <doi:10.1111/j.1538-4632.2007.00708.x>, local 'Moran's I', 'Gearys C' ('Anselin' 1995) <doi:10.1111/j.1538-4632.1995.tb00338.x> and 'Getis/Ord' G ('Ord' and 'Getis' 1995) <doi:10.1111/j.1538-4632.1995.tb00912.x>, 'saddlepoint' approximations ('Tiefelsdorf' 2002) <doi:10.1111/j.1538-4632.2002.tb01084.x> and exact tests for global and local 'Moran's I' ('Bivand et al.' 2009) <doi:10.1016/j.csda.2008.07.021> and 'LOSH' local indicators of spatial heteroscedasticity ('Ord' and 'Getis') <doi:10.1007/s00168-011-0492-y>. The implementation of most of these measures is described in 'Bivand' and 'Wong' (2018) <doi:10.1007/s11749-018-0599-x>, with further extensions in 'Bivand' (2022) <doi:10.1111/gean.12319>. 'Lagrange' multiplier tests for spatial dependence in linear models are provided ('Anselin et al'. 1996) <doi:10.1016/0166-0462(95)02111-6>, as are 'Rao' score tests for hypothesised spatial 'Durbin' models based on linear models ('Koley' and 'Bera' 2023) <doi:10.1080/17421772.2023.2256810>. From 'spdep' and 'spatialreg' versions >= 1.2-1, the model fitting functions previously present in this package are defunct in 'spdep' and may be found in 'spatialreg'.

  • Maintainer: Roger Bivand
  • License: GPL (>= 2)
  • Last published: 2024-09-13