https://github.com/ausgis/geocomplexity
Mitigating Spatial Bias Through Geographical Complexity
https://github.com/ausgis/geocomplexity
geographical-complexity geospatial-analysis r spatial-regression spatial-relations spatial-sampling spatial-statistics
Last synced: 5 months ago
JSON representation
Mitigating Spatial Bias Through Geographical Complexity
- Host: GitHub
- URL: https://github.com/ausgis/geocomplexity
- Owner: ausgis
- Created: 2024-07-06T17:07:19.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-11-11T11:59:36.000Z (8 months ago)
- Last Synced: 2025-01-31T06:51:14.894Z (5 months ago)
- Topics: geographical-complexity, geospatial-analysis, r, spatial-regression, spatial-relations, spatial-sampling, spatial-statistics
- Language: C++
- Homepage: https://ausgis.github.io/geocomplexity/
- Size: 11.4 MB
- Stars: 19
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "##",
fig.path = "man/figures/README-",
out.width = "100%",
warning = FALSE,
message = FALSE
)
```[](https://CRAN.R-project.org/package=geocomplexity)
[](https://CRAN.R-project.org/package=geocomplexity)
[](https://CRAN.R-project.org/package=geocomplexity)
[](https://ausgis.r-universe.dev/geocomplexity)**Mitigating Spatial Bias Through Geographical Complexity**
## Installation
- Install from [CRAN](https://CRAN.R-project.org/package=geocomplexity) with:
``` r
install.packages("geocomplexity", dep = TRUE)
```- Install development binary version from [R-universe](https://ausgis.r-universe.dev/geocomplexity) with:
``` r
install.packages('geocomplexity',
repos = c("https://ausgis.r-universe.dev",
"https://cloud.r-project.org"),
dep = TRUE)
```- Install development source version from [GitHub](https://github.com/ausgis/geocomplexity) with:
``` r
# 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**:
- Download the Rtools installer that matches your version of R from
- Run the installer, `Rtools.exe`, keeping the default settings.**Linux**
Debian/Ubuntu:
```{.sh}
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:
```{.sh}
xcode-select --install
```