Re: [R] Melt (reshape) question

From: hadley wickham <>
Date: Wed, 16 Jul 2008 06:19:41 +0800

> Am
> I right in thinking that this *should* also remove the -99s (NA
> values)? Because at present, the lower end ot the file looks like this:

Judging from your output, the -99's haven't been converted to NA's - you can fix this (and the 88s) by doing:

PopDens[PopDens == -99] <- NA
PopDens[PopDens == 88] <- NA



______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 15 Jul 2008 - 22:26:24 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 Tue 15 Jul 2008 - 23:32:04 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive