View source: R/prune.rivernet.r
prune | R Documentation |
Prune a river network at specified reaches.
prune(net,reach.up=numeric(0),reach.dn=numeric(0),verbose=TRUE)
net |
Object of class "rivernet" e.g. read by the function |
reach.up |
Numerical vector of reach indices from which to prune all upstream reaches (the indicated reaches to prune from will be kept in the pruned network). Note that you can get reach indices from coordinates with the function |
reach.dn |
Numerical vector of reach indices from which to prune all downstream reaches and branches from downstream reaches (the indicated reaches to prune from will be kept in the pruned network). Note that you can get reach indices from coordinates with the function |
verbose |
Logical argument to specify whether there should be (minimal) output over what has been done. |
Returns pruned object of class "rivernet".
rivernet.read
, rivernet.write
,
upstreamconnectivity.rivernet
, adjacentreaches.rivernet
,
utility
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.