View source: R/mean.rivernet.r
mean.rivernet | R Documentation |
Calculates the length and stream order - weighted average of a given reach property.
## S3 method for class 'rivernet'
mean(x,y=NA,na.rm=FALSE,...)
x |
Object of class "rivernet" e.g. read by the function |
y |
Numerical vector of properties of reaches to be averaged. If no values are provided, the function returns the average length of the reaches. |
na.rm |
Indication whether NAs should be removed. |
... |
. |
A scalar representing the weighted mean.
rivernet.read
, upstreamconnectivity.rivernet
, adjacentreaches.rivernet
,
utility
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.