Dear RG Members,
I'd like to extract mean pixels values using x,y coordinates by defining a buffer or area surrounding individual point coordinate. My circular sample represents the radius of a circular region around each point. I try unsuccessfully this using extract function with raster package, in my hypothetical example:
require(raster)
require(sp)
require(plotrix)##Only for draw circular areas
## Create a raster
r