Skip to content

A question about the "extract" function in package "raster"

3 messages · Xuanlong Ma, Robert J. Hijmans, Richard Ma

3 days later
#
Hi Robert,

If I understood correctly, the mechanism behind the "extract" function is
that,  ever cell has a center with a coordinate. The "extract" function will
calculate the distance between the sampling point and nearby cell center. If
the distance less than the buffer, then this cell will be include to
calculate the area mean or other "fun" argument defined functions. 

This function is really helpful for me.

Thanks for your explanation.

Cheers,
Richard
Robert Hijmans wrote:
-----
Richard Ma
PhD student, Ecology & Remote Sensing
Climate Change Cluster, Department of Environment Science
University of Technology, Sydney
http://everydropr.wordpress.com
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/A-question-about-the-extract-function-in-package-raster-tp6684335p6698058.html
Sent from the R-sig-geo mailing list archive at Nabble.com.