Extract focal values for a single row of a RasterLayer
Usage
focalValues(x, ...)
Arguments
x
RasterLayer object
...
Additional arguments. See Details
Value
A two column matrix. The first column has the column numbers, the second has the focal values.
Details
Additional arguments that can be suplied to this function:
1) r. row number (this is a required argument).
2) ngb. The neighborhood to consider. Either a single integer or a vector of two integers. Default is 3.