net_sample: Create Network Reaches, Points and Transects

Description Usage Arguments Value

View source: R/ReachScale_Functions.r

Description

Splits network COMIDs into reaches, identifies midpoints and creates lateral transects

Usage

1
2
3
4
5
6
7
8
net_sample(
  network,
  vaa,
  n = 5,
  what = c("reaches", "midpoints", "transects"),
  NHDCatchments = NULL,
  keep.divergent = F
)

Arguments

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

Value

sf object of either lines or points. Transects are perpendicular to the reach


dkopp3/MMASN documentation built on Dec. 20, 2021, 12:07 a.m.