On Fri, Jul 18, 2008 at 5:09 AM, Rolf Turner <[EMAIL PROTECTED]> wrote: > > On 18/07/2008, at 8:42 AM, Steve Murray wrote: > > <snip> > >> So what I'm looking to do is, 'pad out' the shorter file, by adding in the >> rows with those that are 'missing' from the longer file (ie. if a particular >> coordinate isn't present in the shorter file but is in the 'longer/master' >> file), and having 'zero' as its Population Density value (column C). > > Aaaaaaarrrrrrghhhhhhhhhh!!! Zero is not the same as a missing value. > Surely to gumdrops you should say ``having NA as its Population > Density value''. > > Elsewise you are lying about your data.
Unless table one contains _all_ of the population locations - and implies that everywhere has population 0. Hadley -- http://had.co.nz/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.