R Maps

OpenData + R + Google = Easy Maps

January 11, 2011 | James

The release of the R package “googleVis” has made the production of interactive maps through Google’s Chart Tools a simple task. Ignoring the some basic data manipulation the below map... [Read more...]

Exporting KML from R

January 2, 2011 | James

Google Earth has become a popular way of disseminating spatial data. KML is the data format required to do this. It is possible to load almost any type of spatial...
[Read more...]

Clipping a Surface By a Polygon

September 8, 2010 | James

Background: A common function in standard GIS software enables users to create a raster surface and extract values or clip it based on a set of polygons. This may be used in cases where you want analysis to be constrained to within a town’s boundaries or a coastline. This ... [Read more...]

Writing a Spatial Function: The Location Quotient

September 7, 2010 | James

Background: In some cases it is necessary to conduct the same analysis multiple times on either the same or different data. In such circumstances it is worth writing a function to simplify the code. In this example the location quotient provides a simple calculation easily written in to a function. ... [Read more...]

R Maps

September 6, 2010 | James

This is an updated version of my Making Maps with R tutorial. I think the code is lot simpler and it also includes some data for you to play around with. Background: Spatial data are becoming increasingly common, as are the tools available in R to process it. Of course ... [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)