rgeoda is a R package for spatial data analysis based on libgeoda and GeoDa.
- pca
- mds (multi dimensional scaling)
- multivariate local geary
- multivariate local join count
- quantile LISA
- Add False Discovery Rate (FDR) in local spatial autocorrelation
- NaturalBreaks
- QuantileBreaks
- Hinge15Breaks
- Hinge30Breaks
- PercentileBreaks
- StddevBreaks
This version provides following features:
- Spatial Weights
- Queen
- Rook
- Distance based
- K-Nearest Neighbor
- Kernel
- Spatial Autocorrelation
- Local Moran
- Local Geary
- Local Getis-Ord
- Local Join Count
- Spatial Clustering
- SKATER
- REDCAP
- Max-p
NOTE: we are working to make rgeoda avaiable in CRAN, so that it could be installed easily (target in 0.1.0 version).
rgeoda depends on wkb package. Sometimes, the “dependencies=TRUE” argument of install.package() doesn’t guarantee the installation ow wkb automatically. To avoid any potential issues of installation, you can install it first before rgeoda installation:
install.packages('wkb')
For Mac users, the “Xcode Command Line Tools” needs to be installed for installing rgeoda. It is a free software provided by Apple, which can be installed by using the following command in a terminal:
xcode-select --install
In R console, use install.packages() function to install rgeoda from its source pacakge:
install.packages("https://github.com/lixun910/rgeoda/releases/download/0.0.3/rgeoda_0.0.3.tar.gz")
# or the development version
# devtools::install_github("lixun910/rgeoda")
In R console, use install.packages() function to install rgeoda from its binary pacakge:
install.packages("https://github.com/lixun910/rgeoda/releases/download/0.0.3/rgeoda_0.0.3.zip")
For Linux users, the “Build Essential Tools” needs to be installed first:
sudo apt-get update
sudo apt-get install build-essential
In R console, use install.packages() function to install rgeoda from its source pacakge:
install.packages("https://github.com/lixun910/rgeoda/releases/download/0.0.3/rgeoda_0.0.3.tar.gz")
Jupyter Notebooks: https://github.com/lixun910/rgeoda_tutorial/tree/v0.0.3
Note: the second notebook (esda) depends on sp, and the third notebook depends on sf package.
You can try these R jupyter notebooks in your browser via MyBinder (no installation required):
https://mybinder.org/v2/gh/lixun910/rgeoda_tutorial/v0.0.3
NOTE: This version is still under development, with many changes that might cause issues and errors.
This version is a prototype of rgeoda aims to build up the framework that allows rgeoda to be easily installed in R on different platforms (Windows, Mac OSX, and Linux).
In R console, use install.packages()
function to install rgeoda from its source pacakge at: https://github.com/lixun910/rgeoda/releases/download/0.0.1/rgeoda_0.0.1.zip
install.packages("https://github.com/lixun910/rgeoda/releases/download/0.0.1/rgeoda_0.0.1.zip", dependencies=c('wkb'))
In R console, use install.packages()
function to install rgeoda from its source pacakge at: https://github.com/lixun910/rgeoda/archive/0.0.1.tar.gz
install.packages("https://github.com/lixun910/rgeoda/archive/0.0.1.tar.gz", dependencies=c('wkb'))
Limited features of spatial data analysis are provided for now. Please see the following jupyter notebooks
Notebooks: https://github.com/lixun910/rgeoda_tutorial
Webpages:
Note: the second notebook (esda) depends on sp, and the third notebook depends on sf package.
You can try thoese R jupyter notebooks in your browser (no installation required):
https://mybinder.org/v2/gh/lixun910/rgeoda_tutorial/v0.0.1