sample_streams: sample_streams

Description Usage Arguments Value

View source: R/utils.R

Description

Generates 'n' samples along 'prc', finds the closest points on 'strms' to each point along 'prc', returns 'n' samples along 'strms'.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
sample_streams(
  n = 100,
  lots = prc_mtls,
  prc = prc_per,
  strms = prc_strms,
  buff = per_buff,
  width = 50,
  span = 75,
  inc = 6,
  steps = 25,
  thresh = 50
)

Arguments

n

is the number of samples to take

lots

is a polygon object representing sample extent

prc

is the line path for perennial and fish-bearing streams in RR (NHD)

strms

is the hydro-enforced drainage layer in RR (WSI)

Value

'n' points along 'strms'


crumplecup/riparian documentation built on April 14, 2021, 1:43 p.m.