Message-ID: <4DB9CC38.1040706@yahoo.de>
Date: 2011-04-28T20:21:12Z
From: Jannis
Subject: subset without removing NAs
In-Reply-To: <BANLkTimCO8nO7VqErmB0BVcysV5=zOFyxQ@mail.gmail.com>
On 04/28/2011 09:53 PM, Benjamin Caldwell wrote:
> rws50<- subset(rw.fire.RW,shigo.av<50)
quick and dirty would be to replace all NAs with -99999 (or similar),
use subset, and set all values ==-99999 in the subset back to NA. There
may be more elegant solutions, though.
Jannis