line_maxpos | R Documentation |
applies a line to a raster and returns the position of the maximum value
line_maxpos(dem, line)
dem |
raster object |
line |
sp object |
returns the coordinate of the maximum value of any underlying raster object along a line of interest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.