networkstats: summarise river network character between site pairs

Description Usage Arguments Value Note Examples

View source: R/networkStats.R

Description

summarise river network character between site pairs

Usage

1
networkstats(site1, site2, cat_data, catid_col, nextds_col, env_vars, FUN, ...)

Arguments

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

Value

a dataframe with site pairs and network characteristics

Note

...

Examples

1
2
3

nickbond/catchstats documentation built on Nov. 22, 2019, 3:41 a.m.