Package: gdverse 1.7

Wenbo Lyu

gdverse: Analysis of Spatial Stratified Heterogeneity

Detecting spatial associations via spatial stratified heterogeneity, accounting for spatial dependencies, interpretability, complex interactions, and robust stratification. In addition, it supports the spatial stratified heterogeneity family described in Lv et al. (2025)<doi:10.1111/tgis.70032>.

Authors:Wenbo Lyu [aut, cre, cph], Yangyang Lei [aut], Fangmei Liu [aut], Jianwu Yan [aut], Yongze Song [aut], Wufan Zhao [aut]

gdverse_1.7.tar.gz
gdverse_1.7.zip(r-4.7)gdverse_1.7.zip(r-4.6)gdverse_1.7.zip(r-4.5)
gdverse_1.7.tgz(r-4.6-x86_64)gdverse_1.7.tgz(r-4.6-arm64)gdverse_1.7.tgz(r-4.5-x86_64)gdverse_1.7.tgz(r-4.5-arm64)
gdverse_1.7.tar.gz(r-4.7-arm64)gdverse_1.7.tar.gz(r-4.7-x86_64)gdverse_1.7.tar.gz(r-4.6-arm64)gdverse_1.7.tar.gz(r-4.6-x86_64)
gdverse_1.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
gdverse/json (API)

# Install 'gdverse' in R:
install.packages('gdverse', repos = c('https://stscl.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/stscl/gdverse/issues

Pkgdown/docs site:https://stscl.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • ndvi - Dataset of NDVI changes and its influencing factors
  • NTDs - NTDs data
  • sim - Simulation data.
  • srs_table - Example of spatial information system table
  • srs_wt - Example of spatial information system spatial adjacency matrix

On CRAN:

Conda:

geodetectorgeographical-detectorgeoinformaticsgeospatial-analysisspatial-analysisspatial-data-analysisspatial-statisticsspatial-stratified-heterogeneitycpp

8.98 score 90 stars 2 packages 34 scripts 611 downloads 39 exports 72 dependencies

Last updated from:2d97584243. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK336
linux-devel-x86_64OK388
source / vignettesOK540
linux-release-arm64OK357
linux-release-x86_64OK363
macos-release-arm64OK128
macos-release-x86_64OK253
macos-oldrel-arm64OK118
macos-oldrel-x86_64OK279
windows-develOK131
windows-releaseOK152
windows-oldrelOK173
wasm-releaseOK430

Exports:%>%all2intcpsd_disccpsd_spadeecological_detectorF_informationlossfactor_detectorgdgd_optunidiscgen_permutationsgeodetectorgozhgozh_detectoridsainteraction_detectorleshloess_optscaleopgdpid_idsapsd_ievpsd_pseudoppsd_spadepsmd_pseudoppsmd_spadergdridrisk_detectorrobust_discrpart_discsesu_gozhsesu_opgdspadespd_leshsrs_ecological_detectorsrs_factor_detectorsrs_geodetectorsrs_interaction_detectorsrsgdweight_assign

Dependencies:base64encbootclassclassIntclicpp11DBIdeldirdigestdplyre1071farverforcatsfsgenericsgeosphereggforceggfunggplot2gluegtablehereisobandjsonliteKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixpanderpatchworkpillarpkgconfigpngpolyclipproxypurrrR6rappdirsRColorBrewerRcppRcppArmadilloRcppTOMLreticulaterlangrpartrprojroots2S7scalesscatterpiesdsfunsfspspDataspdepstringistringrsystemfontstibbletidyrtidyselecttweenrunitsutf8vctrsviridisLitewithrwkyulab.utils

Interactive Detector For Spatial Associations(IDSA)
Load data and package | Construct spatial Weight | IDSA modeling

Last update: 2026-02-08
Started: 2024-09-09

Optimal Parameters-based Geographical Detector(OPGD)
Load data and package | Determine optimal discretization parameters | Run geodetector | You can also use opgd() in one time to get result above.

Last update: 2026-02-08
Started: 2024-09-09

Robust Geographical Detector & Robust Interaction Detector(RGD & RID)
Load data and package | Run RGD | Run RID

Last update: 2026-02-07
Started: 2024-09-09

Compare Size Effect of Spatial Units(SESU)
Processing data | Comparison of Size Effect of Spatial Units based on OPGD model | Comparison of Size Effect of Spatial Units based on GOZH model

Last update: 2026-02-07
Started: 2024-09-09

Spatial Heterogeneity Explanation(GOZH & LESH)
Load data and package | Univariate power of determinants detection | Variable interaction detection | Variable interaction contribution

Last update: 2026-02-07
Started: 2024-09-09

Spatial Association Detector(SPADE)
Load data and package | Spatial Autocorrelation of Depression Prevelence | OPGD modeling | Spatial Weight Matrix | SPADE modeling

Last update: 2025-10-15
Started: 2024-09-09

Geographical Detector(GD)
Load package and pre-processing data. | Factor detector | Interaction detector | Risk detector | Ecological detector | Running four basic geodetectors simultaneously

Last update: 2025-03-29
Started: 2024-09-09

Consistency With the Results of Existing GDM R Packages

Last update: 2025-03-29
Started: 2024-12-16

Readme and manuals

Help Manual

Help pageTopics
convert all discretized vectors to integerall2int
optimal spatial data discretization based on SPADE q-statisticscpsd_disc
compensated power of spatial determinant(CPSD)cpsd_spade
ecological detectorecological_detector
measure information loss by information entropyF_informationloss
factor detectorfactor_detector
native geographical detector(GD) modelgd
optimal univariate discretization based on geodetector q-statisticgd_optunidisc
generate permutationsgen_permutations
geographical detectorgeodetector
geographically optimal zones-based heterogeneity(GOZH) modelgozh
geographically optimal zones-based heterogeneity detectorgozh_detector
interactive detector for spatial associations(IDSA) modelidsa
interaction detectorinteraction_detector
locally explained stratified heterogeneity(LESH) modellesh
determine optimal spatial data analysis scaleloess_optscale
dataset of NDVI changes and its influencing factorsndvi
NTDs dataNTDs
optimal parameters-based geographical detector(OPGD) modelopgd
IDSA Q-saistics 'PID'pid_idsa
plot ecological detectorplot.ecological_detector
plot factor detector resultplot.factor_detector
plot GD resultplot.gd_result
plot GOZH resultplot.gozh_result
plot IDSA risk resultplot.idsa_result
plot interaction detector resultplot.interaction_detector
plot LESH model resultplot.lesh_result
plot OPGD resultplot.opgd_result
plot RGD resultplot.rgd_result
plot RID resultplot.rid_result
plot risk detectorplot.risk_detector
plot gozh sesuplot.sesu_gozh
plot opgd sesuplot.sesu_opgd
plot SPADE power of spatial and multilevel discretization determinantplot.spade_result
plot spatial rough set-based ecological detectorplot.srs_ecological_detector
plot spatial rough set-based factor detector resultplot.srs_factor_detector
plot spatial rough set-based interaction detector resultplot.srs_interaction_detector
plot SRSGD resultplot.srsgd_result
print ecological detectorprint.ecological_detector
print factor detectorprint.factor_detector
print GD resultprint.gd_result
print GOZH resultprint.gozh_result
print IDSA resultprint.idsa_result
print interaction detectorprint.interaction_detector
print LESH model interaction resultprint.lesh_result
print OPGD resultprint.opgd_result
print RGD resultprint.rgd_result
print RID resultprint.rid_result
print risk detectorprint.risk_detector
print gozh sesuprint.sesu_gozh
print opgd sesuprint.sesu_opgd
print SPADE power of spatial and multilevel discretization determinantprint.spade_result
print spatial rough set-based ecological detectorprint.srs_ecological_detector
print spatial rough set-based factor detectorprint.srs_factor_detector
print spatial rough set-based interaction detectorprint.srs_interaction_detector
print SRSGD resultprint.srsgd_result
PSD of an interaction of explanatory variables (PSD-IEV)psd_iev
calculate power of spatial determinant(PSD) and the corresponding pseudo-p valuepsd_pseudop
power of spatial determinant(PSD)psd_spade
power of spatial and multilevel discretization determinant(PSMD) and the corresponding pseudo-p valuepsmd_pseudop
power of spatial and multilevel discretization determinant(PSMD)psmd_spade
robust geographical detector(RGD) modelrgd
robust interaction detector(RID) modelrid
risk detectorrisk_detector
univariate discretization based on offline change point detectionrobust_disc
discretization of variables based on recursive partitioningrpart_disc
comparison of size effects of spatial units based on GOZHsesu_gozh
comparison of size effects of spatial units based on OPGDsesu_opgd
Simulation data.sim
spatial association detector (SPADE) modelspade
shap power of determinantsspd_lesh
spatial rough set-based ecological detectorsrs_ecological_detector
spatial rough set-based factor detectorsrs_factor_detector
spatial rough set-based geographical detectorsrs_geodetector
spatial rough set-based interaction detectorsrs_interaction_detector
example of spatial information system tablesrs_table
example of spatial information system spatial adjacency matrixsrs_wt
spatial rough set-based geographical detector(SRSGD) modelsrsgd
assign values by weightweight_assign