Package: geocomplexity
Title: Mitigating Spatial Bias Through Geographical Complexity
Version: 0.3.0
Authors@R: c(
      person(given = "Wenbo", family = "Lyu",
             email = "lyu.geosocial@gmail.com", 
             role = c("aut", "cre", "cph"),
             comment = c(ORCID = "0009-0002-6003-3800")),
      person(given = "Yongze", family = "Song",
             email = "yongze.song@outlook.com", 
             role = c("aut"),
             comment = c(ORCID = "0000-0003-3420-9622")),
      person(given = "Zehua", family = "Zhang",
             email = "levizhang0111@gmail.com", 
             role = c("aut"),
             comment = c(ORCID = "0000-0003-3462-4025"))
      )
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.
License: GPL-3
Encoding: UTF-8
URL: https://ausgis.github.io/geocomplexity/,
        https://github.com/ausgis/geocomplexity
BugReports: https://github.com/ausgis/geocomplexity/issues
RoxygenNote: 7.3.3
Depends: R (>= 4.1.0)
Imports: dplyr, magrittr, purrr, sdsfun, sf, stats, terra, tibble
Suggests: gdverse, ggplot2, infoxtr, knitr, Rcpp, RcppArmadillo,
        rmarkdown, spEDM, viridis
LinkingTo: Rcpp, RcppArmadillo
VignetteBuilder: knitr
NeedsCompilation: yes
Packaged: 2026-03-26 16:00:16 UTC; 31809
Author: Wenbo Lyu [aut, cre, cph] (ORCID:
    <https://orcid.org/0009-0002-6003-3800>),
  Yongze Song [aut] (ORCID: <https://orcid.org/0000-0003-3420-9622>),
  Zehua Zhang [aut] (ORCID: <https://orcid.org/0000-0003-3462-4025>)
Maintainer: Wenbo Lyu <lyu.geosocial@gmail.com>
Repository: CRAN
Date/Publication: 2026-03-26 16:30:12 UTC
Built: R 4.5.3; x86_64-w64-mingw32; 2026-04-25 19:26:40 UTC; windows
Archs: x64
