area_light_temp_threshold: Calculate the average benthic area within temperature and...

Description Usage Arguments Author(s)

View source: R/volume_light_threshold.R

Description

Calculate the average benthic area within temperature and light threshold

Usage

1
2
3
4
5
6
7
8
9
area_light_temp_threshold(
  wtr,
  kd,
  light_incident,
  irr_thresh = c(0, 2000),
  wtr_thresh = c(0, 25),
  hypso,
  area_type = "surface"
)

Arguments

wtr

Data frame of water temperatures. See get_temp

kd

Light attenuation value of the lake (in m^-1 units)

light_incident

Vector of incident light (arbitrary units but units must match threshold units).

irr_thresh

Vector of length 2 with min and max value (in that order) for light thresholds. Note: >= and <= is used for comparison, so thresholds must be adjusted accordingly.

wtr_thresh

Vector of length 2 with min and max value (in that order) for temperature thresholds. Note: >= and <= is used for comparison, so thresholds must be adjusted accordingly.

hypso

Hypsography data.frame, with columns depth and area. From

area_type

How benthic area is to be calculated. Defaults to benthic, which tries to estimate the slope corrected benthic area for each layer. surface just uses a surface area approximation, ignoring slope.

Author(s)

Luke Winslow


USGS-R/mda.lakes documentation built on Nov. 13, 2020, 8:28 p.m.