Description Usage Arguments Examples
Extract values on Raster map. The line is a straight line between (0,1).
extractRaster
1 | extractRaster(r, xy = NULL, ext = raster::extent(r), plot = T)
|
r |
Raster |
xy |
coordinates of the line, dim=(Npoints, 2); x and y must be in [0, 1] |
ext |
extension of value xy. |
plot |
Whether plot result. |
1 | library(raster)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.