Skip to content

using the 'mask' function to set NAs in 'raster'

3 messages · Jason MacKenzie, Robert J. Hijmans

#
Hi Jason,

count(mr, NA) should indeed be larger than or equal to count(m, NA);
as in the example below. No idea what is going on in your case. What
makes you say that the values are returned at zeros? Are you using an
old version? If not, could you send me the files?

Robert
Loading required package: sp
raster version 1.5-9 (21-September-2010)
[1] 20
[1] 51
[1] 59
On Thu, Sep 23, 2010 at 12:44 PM, Jason MacKenzie <jmackenzie at tnc.org> wrote: