Skip to content

Geographical Detectors for Assessing Spatial Factors

0packages depend
31.3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Geographical detectors for measuring spatial stratified heterogeneity, as described in Jinfeng Wang (2010) doi:10.1080/13658810802443457 and Jinfeng Wang (2016) doi:10.1016/j.ecolind.2016.02.052. Includes the optimal discretization of continuous data, four primary functions of geographical detectors, comparison of size effects of spatial unit and the visualizations of results. To use the package and to refer the descriptions of the package, methods and case datasets, please cite Yongze Song (2020) doi:10.1080/15481603.2020.1760434. The model has been applied in factor exploration of road performance and multi-scale spatial segmentation for network data, as described in Yongze Song (2018) doi:10.3390/rs10111696 and Yongze Song (2020) doi:10.1109/TITS.2020.3001193, respectively.

Changes in 10.9
  • Recommended to install gdverse version 1.6 or higher (#5).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 10.9
READMEYes · 113 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 10.9Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
12
Examples that run
100%9 run in a plain check
Exported functions with examples
90%
Documented parameters
100%
Return-value docs
0%
Help pages citing references
0%

Downloads

31.3K
CRAN downloads in the past year
Rank #3,136 · ~86/day · ~2.6K/mo
Daily download trend is not available in this view yet.
1.2K30 days
3.9K90 days
31.3K1 year
Compare downloads with other packages →
Also on96 r2u7 autocran

Repository

ausgis/gd ↗Organization: ausgis
20Stars
0Forks
0Open issues
0Open PRs
4Releases
99Commits
1Commit identities
geographical-detectorrspatial-stratified-heterogeneity
99 commits · Last activity 2026-02-27 · 0% stars, 30d · Default branch at 10.10, ahead of CRAN 10.9 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-22 · 142026-09-09 · 20
PracticesBeta

8 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/ausgis/gd on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-02-27 · The repository has a site deploy workflow

pkgdown site last built 2026-02-27

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing GD adds 8 packages (7 with compiled code, 9.1 MB of source tarballs). Heaviest: gplots 4.6 MB, Rcpp 1.8 MB, ape 1.4 MB.

Depends (1)
R >= 4.1.0
Imports (4)
BAMMtoolsgraphicsstatsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer · added in 10.9
Author, Copyright holder · added in 10.5

Maintainer since 10.5 (2024), previously Yongze Song (1.0 to 10.3)

Listed in earlier versions (1)
no longer listed · 10.5 to 10.8
Releases (17)

Pick two releases to compare their code metrics.

Show 11 earlier eventsHide 11 earlier events
  • 1.7
    record
    2019-08-21 · diff ↗ ·
    removed 3 exports
    citv, stra, stra2v
  • R
    R 3.6.0 released · 2019-04-26
  • 1.6
    record
    2018-07-02 · diff ↗
  • 1.5
    record
    2018-05-15 · diff ↗
  • 1.4
    record
    2018-05-02 · diff ↗ ·
    removed 7 exports
    gd.eco, gd.ecomatrix, gd.interact, gd.risk, gd.riskmatrix, gd.riskmean, stra.2v
    added 8 exports
    gdeco, gdinteract, gdm, gdrisk, riskmean, sesu, stra2v, v2m
  • R
    R 3.5.0 released · 2018-04-23
  • 1.3
    record
    2018-03-16 · diff ↗
  • 1.2
    record
    2018-02-22 · diff ↗ ·
    added 1 export
    optidisc
  • 1.1
    record
    2018-01-12 · diff ↗
  • 1.0
    record
    2018-01-03
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-01-03
Total releases
17 / 8 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Bundled data
763 KB / 9 files
Download size
2.2 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("GD")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1080/15481603.2020.1760434, 10.1016/j.ecolind.2016.02.052, 10.1080/13658810802443457.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for GD version 10.9 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy