R for Spatial Statistics



This is a web site for learning R to do spatial science, especially spatial statistics and modeling. R has become the single most important software package for spatial statistics both because it is widely available (and free) and contains the widest variety of spatial statistical tools.

Where there are "graphical user interfaces" for R, R is still fundamentally a scripting, or interpreted, programming language. It also has some of it's own unique syntax elements and can take a while for even experienced programmers to learn. I recommend taking your time with R, learn the elements of R that you really need, and come back to R on a regular basis to keep your skills sharp.

This web site was designed to get you started with R as easily and quickly as possible. The web site will refer you to the best materials I have found and then augment these will additional information where needed.

At the top of each page you may see "Incomplete" to indicate that the web page is still being written and "In Review" for pages that are having final edits applied. Please feel free to send me feedback on how to improve the content of the site.

This web site was created by and is managed by Dr. Jim Graham (James.Graham@oregonstate.edu) but contains contributions from a wide variety of folks. The web site is a work in progress, feel free to email me with corrections, comments, and suggestions.

Additional Resources

Introduction to Probability and Statistics Using R - this is an excellent and approachable introduction to R

R for Data Science Free online and easy to use guide that covers the basics of data wrangling in R and mostly uses the Tidyverse.

R Graphics Cookbook This one is mainly for creating visualizations, and details use of the 'ggplot2' package.