Robin's Blog

Archive for the ‘Programming’ Category

Review: R in a Nutshell by Joseph Adler

Summary: Very comprehensive and very useful, but not good for a beginner. Great book though – definitely has a place on my bookshelf. Reference: Adler, J., 2010, R in a Nutshell, O’Reilly, Sebastopol, CA, 611 pagesO’Reilly Link After reviewing a book about R designed for beginners (see my previous post) I thought I’d step up […]

Review: Statistical Analysis with R: Beginner’s Guide by John M. Quick

Summary: If you can get past the strange underlying story, then this gives a good introduction to R to someone with no programming experience. However, if you have any experience with other programming languages then another book is likely to be more suitable. Reference: Quick, J. M., Statistical Analysis in R: Beginners Guide, Packt Publishing, […]

Producing grids of plots in R with ggplot2: A journey of discovery

I’ve just gone through a bit of a ‘journey of discovery’ in R while trying to plot a grid of plots for one of the research projects I’m doing. I wanted to write a simple function which could produce this grid of plots from a CSV file, allowing me to easily view the trends of […]

How to: Find closest objects in ArcGIS with Python

As part of my DunesGIS project I had a need to calculate ‘closeness statistics’ for objects in ArcGIS. By ‘closeness statistics’ I mean statistics giving information about how close the objects are to each other. I needed to do this to calculate how dune patterns change over time. The code below takes a shapefile as […]