Learn R Programming

uavRst (version 0.5-4)

line_maxpos: applies a line to a raster and returns the position of the maximum value.

Description

applies a line to a raster and returns the position of the maximum value

Usage

line_maxpos(dem, line)

Arguments

dem

raster object

line

sp object

Value

returns the coordinate of the maximum value of any underlying raster object along a line of interest