Package: geocomplexity Title: Mitigating Spatial Bias Through Geographical Complexity Version: 0.3.1 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 Roxygen: list(markdown = TRUE) 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 Config/pak/sysreqs: libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev libssl-dev libproj-dev libsqlite3-dev libudunits2-dev Repository: https://ausgis.r-universe.dev Date/Publication: 2026-03-27 03:53:46 UTC RemoteUrl: https://github.com/ausgis/geocomplexity RemoteRef: HEAD RemoteSha: 89af59c8213a4e9205f78a65718776266ebc5fca NeedsCompilation: yes Packaged: 2026-05-26 10:16:18 UTC; root Author: Wenbo Lyu [aut, cre, cph] (ORCID: ), Yongze Song [aut] (ORCID: ), Zehua Zhang [aut] (ORCID: ) Maintainer: Wenbo Lyu