extract_reach | R Documentation |
Find pixel IDs matching reach i
extract_reach(i, x, Tp, sorted = FALSE)
i |
Reach number to extract |
x |
Raster stream stack |
Tp |
optional Topology, only needed for sorting |
sorted |
Logical, should the ids be returned sorted from upstream to down? |
A vector of pixel ids #' @examples data(kamp_dem) kamp = delineate(kamp_dem, outlet = NA) Tp = pixel_topology(kamp) extract_reach(5, kamp$stream, Tp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.