extractPts | R Documentation |
Extract values from a Raster* of SpatRaster object
extractPts(pts, x)
pts |
location info for points to be extracted. Must be a data frame or matrix with either set of the following columns. Note that layer (or z) may be either a layer index number or layer names. If 'cell' is present in the input then [x or lon] and [y or lat] are ignored.
|
x |
a single or multilayer Raster* object. If |
a vector of values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.