A reference card you will find helpful when computing with R:
R reference card
A few more simple commands that show you how to create graphs in R, how to read a data set from a file and how to do simple manipulations (you will need to create a directory in your computer where you should have your code and the data set you are working with: in this case, Soil magnesium from below.
Plotting and reading in data
A first example of a spatial data set: MG.txt
A very nice introductory tour of the package we'll use the most the first part of the semester, geoR, can be found at:
Intro to geoR
R code for exploratory analysis of binary data on a lattice. The data set used for illustration contains records of presence and absence of two plant species at a given location for 96 permanent sampling plots:
plants data
Using Moran's I to detect trend in the moisture/elevation washita data set (HW#3): Moran_Washita.r