spdep

Spatial Dependence: Weighting Schemes and Statistics

https://github.com/r-spatial/spdep

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 31 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    2 of 14 committers (14.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.1%) to scientific vocabulary

Keywords

spatial-autocorrelation spatial-dependence spatial-weights

Keywords from Contributors

geo gdal proj impacts maximum-likelihood spatial-econometrics spatial-regression geospatial-data
Last synced: 6 months ago · JSON representation

Repository

Spatial Dependence: Weighting Schemes and Statistics

Basic Info
Statistics
  • Stars: 138
  • Watchers: 14
  • Forks: 27
  • Open Issues: 5
  • Releases: 0
Topics
spatial-autocorrelation spatial-dependence spatial-weights
Created over 8 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog

README.md

R-CMD-check CRAN <!-- badges: end -->

spdep

Spatial Dependence: Weighting Schemes and Statistics

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) (https://doi.org/10.1002/(SICI)1097-0258(19990830)18:16%3C2147%3A%3AAID-SIM179%3E3.0.CO%3B2-I) Index, Getis/Ord G (Getis and Ord 1992) (https://doi.org/10.1111/j.1538-4632.1992.tb00261.x) and multicoloured join count statistics, APLE (Li et al. ) (https://doi.org/10.1111/j.1538-4632.2007.00708.x), local Morans I (Anselin 1995) (https://doi.org/10.1111/j.1538-4632.1995.tb00338.x) and Getis/Ord G (Ord and Getis 1995) (https://doi.org/10.1111/j.1538-4632.1995.tb00912.x), saddlepoint approximations (Tiefelsdorf 2002) (https://doi.org/10.1111/j.1538-4632.2002.tb01084.x) and exact tests for global and local Morans I (Bivand et al. 2009) (https://doi.org/10.1016/j.csda.2008.07.021) and LOSH local indicators of spatial heteroscedasticity (Ord and Getis) (https://doi.org/10.1007/s00168-011-0492-y), with further extensions in Bivand (2022) doi:10.1111/gean.12319. The implementation of most of the measures is described in Bivand and Wong (2018) (https://doi.org/10.1007/s11749-018-0599-x). Extra measures contributed by Josiah Parry. Lagrange multiplier tests for spatial dependence in linear models are provided (Anselin et al. 1996) (https://doi.org/10.1016/0166-0462(95)02111-6), as are Rao's score tests for hypothesised spatial Durbin models based in fitted linear models (Koley and Bera 2024) (https://doi.org/10.1080/17421772.2023.2256810). A local indicators for categorical data (LICD) implementation based on Carrer et al. (2021) (https://doi.org/10.1016/j.jas.2020.105306) and Bivand et al. (2017) (https://doi.org/10.1016/j.spasta.2017.03.003) was added in 1.3-7. Multivariate spatialdelta (Bavaud 2024) (https://doi.org/10.1111/gean.12390) was added in 1.3-13 (Bivand 2025, https://doi.org/10.26034/la.cdclsl.2025.8343).

sfdep (https://cran.r-project.org/package=sfdep) provides a piped interface to spdep.

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.

Default branch now main

Moved from R-Forge

Owner

  • Name: r-spatial
  • Login: r-spatial
  • Kind: organization

For packages raster, terra, dismo & geosphere visit the rspatial github organisation (mind the missing '-')

GitHub Events

Total
  • Issues event: 9
  • Watch event: 14
  • Issue comment event: 35
  • Push event: 69
  • Pull request review event: 5
  • Pull request review comment event: 5
  • Pull request event: 6
  • Fork event: 2
  • Create event: 1
Last Year
  • Issues event: 9
  • Watch event: 14
  • Issue comment event: 35
  • Push event: 69
  • Pull request review event: 5
  • Pull request review comment event: 5
  • Pull request event: 6
  • Fork event: 2
  • Create event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 464
  • Total Committers: 14
  • Avg Commits per committer: 33.143
  • Development Distribution Score (DDS): 0.677
Past Year
  • Commits: 36
  • Committers: 2
  • Avg Commits per committer: 18.0
  • Development Distribution Score (DDS): 0.139
Top Committers
Name Email Commits
Roger Bivand R****d@g****m 150
Roger Bivand r****d@n****o 143
Roger Bivand R****d@n****o 74
Rene Westerholt r****t@w****e 24
josiahparry j****y@g****m 22
Roger Bivand R****d@R****g 16
Roger r****d@g****m 13
Angela Li a****1@g****m 6
Edzer Pebesma e****a@u****e 6
jeffcsauer j****r@m****a 4
Roger Bivand r****b@l****n 2
guiblanchet g****3@g****m 2
Elias T. Krainski e****i@g****m 1
Sebastian Meyer s****r@f****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 101
  • Total pull requests: 49
  • Average time to close issues: 3 months
  • Average time to close pull requests: 8 days
  • Total issue authors: 65
  • Total pull request authors: 8
  • Average comments per issue: 4.58
  • Average comments per pull request: 1.47
  • Merged pull requests: 38
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 7
  • Pull requests: 4
  • Average time to close issues: 15 days
  • Average time to close pull requests: about 2 months
  • Issue authors: 7
  • Pull request authors: 3
  • Average comments per issue: 3.57
  • Average comments per pull request: 3.5
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • JosiahParry (19)
  • rsbivand (14)
  • rosieluain (3)
  • gadouaka (2)
  • xu003822 (2)
  • agila5 (2)
  • kiaralherpiniere (1)
  • jaganmn (1)
  • ConnorDonegan (1)
  • CRyan1 (1)
  • Reale3 (1)
  • marcbosch-idencity (1)
  • omm718 (1)
  • jordanong09 (1)
  • petra41 (1)
Pull Request Authors
  • rsbivand (28)
  • rwesterh (18)
  • JosiahParry (13)
  • microly (2)
  • jeffcsauer (2)
  • matmo (1)
  • bastistician (1)
  • guiblanchet (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • cran 37,490 last-month
  • Total docker downloads: 1,028,983
  • Total dependent packages: 144
    (may contain duplicates)
  • Total dependent repositories: 253
    (may contain duplicates)
  • Total versions: 169
  • Total maintainers: 1
cran.r-project.org: spdep

Spatial Dependence: Weighting Schemes, Statistics

  • Versions: 153
  • Dependent Packages: 138
  • Dependent Repositories: 251
  • Downloads: 37,490 Last month
  • Docker Downloads: 1,028,983
Rankings
Docker downloads count: 0.0%
Dependent packages count: 0.8%
Dependent repos count: 1.1%
Average: 1.8%
Downloads: 2.6%
Forks count: 2.9%
Stargazers count: 3.7%
Maintainers (1)
Last synced: 6 months ago
conda-forge.org: r-spdep
  • Versions: 16
  • Dependent Packages: 6
  • Dependent Repositories: 2
Rankings
Dependent packages count: 9.0%
Dependent repos count: 20.3%
Average: 23.9%
Stargazers count: 33.1%
Forks count: 33.2%
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.3.0 depends
  • methods * depends
  • sf * depends
  • sp >= 1.0 depends
  • spData >= 0.2.6.0 depends
  • boot >= 1.3 imports
  • deldir * imports
  • e1071 * imports
  • grDevices * imports
  • graphics * imports
  • s2 * imports
  • stats * imports
  • units * imports
  • utils * imports
  • Matrix * suggests
  • RColorBrewer * suggests
  • RSpectra * suggests
  • classInt * suggests
  • dbscan * suggests
  • foreign * suggests
  • ggplot2 * suggests
  • igraph * suggests
  • knitr * suggests
  • lattice * suggests
  • parallel * suggests
  • rgeoda * suggests
  • rmarkdown * suggests
  • spam * suggests
  • spatialreg >= 1.2 suggests
  • tinytest * suggests
  • tmap * suggests
  • xtable * suggests
.github/workflows/check-standard.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v2 composite