Skip to content
Prev 10087 / 29559 Next

Using 'overlay' with multi- and single-layers objects

Hi Kevin,

That's a bug, thanks for reporting it. Fixed in version 1.7-1

A work around for the simple example you provide would be:

x <- stack_r + r

or (not really advisable but it should work while version 1.7-1 is not
yet on CRAN)

x <- raster:::.overlayList( list(stack_r,r), fun=sum)

Robert
On Tue, Nov 23, 2010 at 3:25 AM, Kevin Ummel <kevinummel at gmail.com> wrote: