getScenarioKd: Get light attenuation based on long-term trend scenario for a...

Description Usage Arguments Details Value Author(s)

View source: R/lake_attribute_functions.R

Description

Calculate the long-term values of light attenuation for a given lake based on changing scenario

Usage

1
2
3
4
5
6
7
8
getScenarioKd(
  WBIC,
  years,
  year.1 = 1979,
  year.2 = 2011,
  trend = 0,
  default.if.null = FALSE
)

Arguments

years

Numeric year vector across which to calculate Kd values

year.1

The numeric year bounds of the averaging (i.e., values outside of this range will not be used)

trend

The percentage of Secchi increase per year. Positive is increasing secchi (e.g., 0.94 is 0.94 percent increase per year)

default.if.null

boolean indicating if default Kd should be used if lake has no observations

site_id

The character ID for the requested data

Details

TODO

Value

light attenuation coefficient in m^-1

Author(s)

Luke Winslow, Jordan Read


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