calc_toha: calculate the Thermal Optical Habitat Area (TOHA) for a given...

Description Usage Arguments

View source: R/calc_toha.R

Description

This runs GLM using a series of different secchi values, and for each calculates the TOHA.

Usage

1
2
3
4
5
6
calc_toha(
  lakeid,
  secchi = c(seq(0.1, 2.9, by = 0.1), 3:10),
  wtr_thresh = c(11, 25),
  irr_thresh = c(0.0762, 0.6476)
)

Arguments

lakeid

ID of lake to run

secchi

Vector of secchi values to run model over

wtr_thresh

The temperature thresholds in degC (defaults from Lester et al 2004)

irr_thresh

The light intensity thresholds in W/m^2 (defaults from Lester et al 2004)


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