Learn R Programming

geocomplexity

Mitigating Spatial Bias Through Geographical Complexity

Installation

  • Install from CRAN with:
install.packages("geocomplexity", dep = TRUE)
  • Install development binary version from R-universe with:
install.packages('geocomplexity',
                 repos = c("https://ausgis.r-universe.dev",
                           "https://cloud.r-project.org"),
                 dep = TRUE)
  • Install development source version from GitHub with:
# install.packages("devtools")
devtools::install_github("ausgis/geocomplexity",
                         build_vignettes = TRUE,
                         dep = TRUE)

Please ensure that appropriate C++ compilation environment is configured and Rcpp & RcppArmadillo is properly installed in advance if you want to install geocomplexity from source. See the next topic on C++ Settings for more information.

Set up to use C++ compilation environment

Windows:

Linux

Debian/Ubuntu:

apt-get update
apt-get install r-base-dev

Fedora/RedHat: should be set up already.

MacOS

  • Install the Xcode command line tool.

  • Then, in the terminal:

    xcode-select --install

Copy Link

Version

Install

install.packages('geocomplexity')

Monthly Downloads

572

Version

0.2.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Wenbo Lv

Last Published

October 3rd, 2024

Functions in geocomplexity (0.2.0)

geocd_vector

geocomplexity for spatial vector data based on spatial dependence
geocs_vector

geocomplexity for spatial vector data based on geographical similarity
%>%

Pipe operator
gwr_geoc

geographical complexity-geographically weighted regression
geocs_swm

constructing spatial weight matrix based on geocomplexity with similar geographical configurations
geocs_raster

geocomplexity for spatial raster data based on geographical similarity
geocd_swm

constructing spatial weight matrix based on geocomplexity with spatial dependence
geocd_raster

geocomplexity for spatial raster data based on spatial dependence