Re: [R] Matching Up Values

From: hadley wickham <h.wickham_at_gmail.com>
Date: Fri, 18 Jul 2008 09:36:33 +0800

On Fri, Jul 18, 2008 at 5:09 AM, Rolf Turner <r.turner_at_auckland.ac.nz> 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_at_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.
Received on Fri 18 Jul 2008 - 01:42:42 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 Jul 2008 - 02:32:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive