Description Usage Arguments Value
Given a matrix representation of the channel 'chan' with cols (x,y) and rows running upstream to downstream, pulls all pts within 'inc' of 'pt' along 'chan'. If 'us' is true, then the last row of the subset matrix is 'inc' units upstream If 'us' is false, then the first row of the subset is 'inc' units downstream The function recursively calls itself using the new point position and distance remaining in place of 'pt' and 'dist' until having fully traveled the original 'dist' by increments of 'inc'.
1 |
pt |
is a coordinate pair |
dist |
is a numeric hipchain distance (meters along channel) |
inc |
is a numeric step increment |
chan |
is a matrix of coords delineating channel from downstream to upstream |
us |
is a boolean indicating up or downstream travel |
filter |
is a numeric buffer distance defining off-channel pts |
coordinate position 'dist' along 'chan' from 'pt', and distance remaining in list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.