@darribas
)This page1
Spatial Analysis Notes in R by Dani Arribas-Bel is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. contains computational illustrations on spatial analysis topics using R. Currently, the following notes are available:
These notes are hosted as a GitHub repository and you can access it in a few ways:
.zip
file that contains all the materials.Each note has slightly different dependencies that cater to the topics covered in the note. In order to be able to run all of the notes, you will need to install the following libraries2 You can install package mypackage
by running the command install.packages("mypackage")
on the R prompt or through the Tools --> Install Packages...
menu in RStudio., which are loaded as follows:
# Layout
library(tufte)
# For pretty table
library(knitr)
# Spatial Data management
library(rgdal)
## Loading required package: sp
## rgdal: version: 1.2-5, (SVN revision 648)
## Geospatial Data Abstraction Library extensions to R successfully loaded
## Loaded GDAL runtime: GDAL 2.1.2, released 2016/10/24
## Path to GDAL shared files:
## Loaded PROJ.4 runtime: Rel. 4.9.1, 04 March 2015, [PJ_VERSION: 491]
## Path to PROJ.4 shared files: /Library/Frameworks/R.framework/Versions/3.3/Resources/library/rgdal/proj
## Linking to sp version: 1.2-3
# Pretty graphics
library(ggplot2)
# Thematic maps
library(tmap)
# Pretty maps
library(ggmap)
## Google Maps API Terms of Service: http://developers.google.com/maps/terms.
## Please cite ggmap if you use it: see citation("ggmap") for details.
# Various GIS utilities
library(GISTools)
## Loading required package: maptools
## Checking rgeos availability: TRUE
## Loading required package: RColorBrewer
## Loading required package: MASS
## Loading required package: rgeos
## rgeos version: 0.3-22, (SVN revision 544)
## GEOS runtime version: 3.4.2-CAPI-1.8.2 r3921
## Linking to sp version: 1.2-4
## Polygon checking: TRUE
# For all your interpolation needs
library(gstat)
# For data manipulation
library(plyr)
# Spatial Econometrics routines
library(spdep)
## Loading required package: Matrix
# Simulation methods for modeling
library(arm)
## Loading required package: lme4
##
## arm (Version 1.9-3, built: 2016-11-21)
## Working directory is /Users/dani/AAA/Documents/teaching/u-lvl/2017/envs453/GIT/spa_notes
This page was last built on:
date()
## [1] "Wed Mar 15 20:35:21 2017"