networkstats | R Documentation |
summarise river network character between site pairs
networkstats(site1, site2, cat_data, catid_col, nextds_col, env_vars, FUN, ...)
site1 |
a vector of sites for which all pairs are sought |
site2 |
a second vector of sites for which all pairs are sought |
cat_data |
the name of the dataframe containing the catchment data |
catid_col |
the column containing the catchment ids |
nextds_col |
the column containing the next downstream catchment ids |
env_vars |
quoted vector of environmental variables for which summary stats are required |
FUN |
quoted scalar function to apply to env.vars (e.g. 'sum') |
... |
additional arguments to FUN |
a dataframe with site pairs and network characteristics
...
data(mwcats)
all_pairs(mwcats$site[1:5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.