calc_watershed_cap: Watershed Capacity

View source: R/calc_watershed_cap.R

calc_watershed_capR Documentation

Watershed Capacity

Description

Estimate capacity within a polygon, based on line file of species domain and point estimates within the polygon

Usage

calc_watershed_cap(
  wtsd_polygon,
  capacity_sf,
  capacity_name = "chnk_per_m",
  capacity_se_name = "chnk_per_m_se",
  spp_range = NULL,
  max_snap_dist = 500,
  by_stream = F
)

Arguments

wtsd_polygon

sf polygon defining the extent you wish to estimate capacity over

capacity_sf

sf file of either points or lines with estimates of capacity

capacity_name

character vector of the name of the capacity column in capacity_pts

capacity_se_name

character vector of the name of the column in capacity_pts which characterizes the standard error of the capacity prediction

spp_range

sf line defining the species range extent. Only needed if capacity_sf is a point file.

max_snap_dist

numeric value describing maximum distance (in meters) to snap points to the species range extent. Default value is 500. Only needed if capacity_sf is a point file.

by_stream

Should capacities be returned by stream, TRUE, or just the total across the entire watershed, FALSE. Default is FALSE

Author(s)

Kevin See


KevinSee/QRFcapacity documentation built on Feb. 27, 2023, 3:57 p.m.