pointValues | R Documentation |
Extract values from a Raster* object for point locations. This function adds a few options that can be useful in the context of species distribution modeling to extract
function in the raster package.
pointValues(x, p, a, uniquecells = TRUE, na.rm = TRUE)
x |
A Raster* object |
p |
Points. Two-colum matrix or data.frame; or a SpatialPoints* object |
a |
Additional points (absences). Two-colum matrix or data.frame; or a SpatialPoints* object |
uniquecells |
Logical. If |
na.rm |
Logical. If |
matrix
Robert J. Hijmans
extract
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.