View source: R/compute_upstream_aggregate.R
compute_upstream_aggregate | R Documentation |
Function returns the river network consisting of all upstream segments from the specified river segment.
compute_upstream_aggregate(
HS,
values,
fun = sum,
output_col = NULL,
verbose = FALSE,
...
)
HS |
a |
values |
A vector of values to be aggregated, or a name of the column
in |
fun |
Function applied to the collected values upstream. The function
must take |
output_col |
Column name in |
verbose |
Whether or not print progress indicators. |
... |
Additional arguments passed to |
A vector of the collected stats, or the input HS
with a
specified column storing the vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.