point values
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
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.