Skip to content

GeoDaCenter/rgeoda

Repository files navigation

rgeoda

rgeoda is a R package for spatial data analysis based on libgeoda and GeoDa.

version 0.0.3

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

version 0.0.1

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).

Installation

NOTE: we are working to make rgeoda avaiable in CRAN, so that it could be installed easily (target in 0.0.2 version).

Windows

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'))

Mac OSX and Linux

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'))

Tutorials

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): badge https://mybinder.org/v2/gh/lixun910/rgeoda_tutorial/master