Re: [R-sig-Geo] Raster extract by polygon generating NAs

2018-05-17 Thread João Carreiras
Thank you Ben, setting na.rm = T did the job. Best wishes Joao On 16 May 2018 at 19:36, Ben Tupper wrote: > Hi, > > It's hard to know without any reproducible code, but you will want to pay > close attention to the value of the na.rm argument to > raster::extract(Raster,SpatialPolygons) > > See

Re: [R-sig-Geo] Raster extract by polygon generating NAs

2018-05-16 Thread Ben Tupper
Hi, It's hard to know without any reproducible code, but you will want to pay close attention to the value of the na.rm argument to raster::extract(Raster,SpatialPolygons) See ?extract for all the details. Cheers, Ben > On May 16, 2018, at 2:27 PM, João Carreiras wrote: > > Greetings! >