Description Usage Arguments Value
View source: R/ReachScale_Functions.r
Splits network COMIDs into reaches, identifies midpoints and creates lateral transects
1 2 3 4 5 6 7 8 | net_sample(
network,
vaa,
n = 5,
what = c("reaches", "midpoints", "transects"),
NHDCatchments = NULL,
keep.divergent = F
)
|
network |
a single network extracted from NHDPlusV2 |
vaa |
NHDPlusV2 value added attributes table, PlusFlowlineVAA.dbf" |
n |
number of reaches per network COMID |
what |
one of c("reaches", "midpoints", "transects") |
NHDCatchments |
NHDPlusV2 catchment coverage, Catchment.shp, required if what = "transects" |
keep.divergent |
logical keep divergent flow paths |
sf object of either lines or points. Transects are perpendicular to the reach
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.