cells_above_threshold: Identify the focal cells exceeding the threshold
Description
Generate a data.frame containing the cell indices of the focal
cells surpassing the specified threshold. Additionally, include columns for
the coordinates (xy) corresponding to the center of each cell.
Usage
cells_above_threshold(focal, threshold)
Arguments
- focal
focal as output from terra::focal().
- threshold
lower (numeric) threshold boundary.