siteByReach | R Documentation |
A value of 1 at indices '[i,j]' indicates that reach 'i' is connected to (i.e., downstream of) reach 'j'.
siteByReach(ws, points, names, self = TRUE)
ws |
A watershed object |
points |
A vector of pixel id numbers for sites |
names |
An optional vector of site names |
self |
If TRUE, a reach is considered connected to itself |
A [Matrix::sparseMatrix()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.