Skip to content

geocomplexity

Mitigating Spatial Bias Through Geographical Complexity

v0.3.0 · Mar 26, 2026 · GPL-3

Description

The geographical complexity of individual variables can be characterized by the differences in local attribute variables, while the common geographical complexity of multiple variables can be represented by fluctuations in the similarity of vectors composed of multiple variables. In spatial regression tasks, the goodness of fit can be improved by incorporating a geographical complexity representation vector during modeling, using a geographical complexity-weighted spatial weight matrix, or employing local geographical complexity kernel density. Similarly, in spatial sampling tasks, samples can be selected more effectively by using a method that weights based on geographical complexity. By optimizing performance in spatial regression and spatial sampling tasks, the spatial bias of the model can be effectively reduced.

Downloads

CRAN

319

Last 30 days

12290th

1.1K

Last 90 days

6.3K

Last year

Trend: +9.6% (30d vs prior 30d)

r2u CRAN

40

Last 30 days

134

Last 90 days

474

Last year

Trend: -28.6% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.4Mb
  sub-directories of 1Mb or more:
    libs   6.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.3Mb
  sub-directories of 1Mb or more:
    libs   6.0Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/geocomplexity.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.4Mb
  sub-directories of 1Mb or more:
    libs   6.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.3Mb
  sub-directories of 1Mb or more:
    libs   6.0Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.4Mb
  sub-directories of 1Mb or more:
    libs   6.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.2Mb
  sub-directories of 1Mb or more:
    libs   6.0Mb

Dependency Network

Dependencies Reverse dependencies dplyr magrittr purrr sdsfun sf terra tibble geocomplexity

Version History

5 tracked
updated 0.3.0 ← 0.2.1 diff Mar 26, 2026
new 0.2.1 Mar 10, 2026
updated 0.2.1 ← 0.2.0 diff Nov 10, 2024
updated 0.2.0 ← 0.1.0 diff Oct 2, 2024
new 0.1.0 Sep 23, 2024