Re: [R] Raster Help

2015-02-20 Thread Simon Tarr
ls/wiki/Reproducibility > > http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example > > > John Kane > Kingston ON Canada > > > > -Original Message- > > From: simon.t...@adtrak.co.uk > > Sent: Fri, 20 Feb 2015 15:45:04 +

Re: [R] Raster Help

2015-02-20 Thread John Kane
3269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada > -Original Message- > From: simon.t...@adtrak.co.uk > Sent: Fri, 20 Feb 2015 15:45:04 + > To: sven.temp...@gmail.com > Subject: Re: [R] Raster Help > > Hi Sven, > > Many thanks for t

Re: [R] Raster Help

2015-02-20 Thread Simon Tarr
Hi Sven, Many thanks for the reply and my apologies for not posting any code. So far, I have been able to write this (but it's very basic and just getting me to the 'complicated' stage). setwd("C:\\Users\\simon.tarr\\Documents\\GIS\\Test Data") require(raster) require(rgdal) revenue<-read.table("

Re: [R] Raster Help

2015-02-19 Thread Sven E. Templer
Without (example) code it is hard to follow... use ?dput to present some data (subset). But if it is data.frames you are dealing with (for sure with read.csv, but not so sure at all with raster maps), give this a try: ?merge On 19 February 2015 at 17:44, Simon Tarr wrote: > Hello everyone, > > I

[R] Raster Help

2015-02-19 Thread Simon Tarr
Hello everyone, I need a little help with some R syntax to complete what (I think) is a fairly straightforward task- hopefully someone can assist! I have a raster map of the UK which is split into postcode areas (e.g. DE, NG, NR etc. 127 postcodes in total). I have installed the package 'raster'