Description Usage Arguments Value
View source: R/opti_thermal_habitat.R
Calculate optical thermal habitat using temp and light thresholds
1 2 3 4 5 6 7 8 9 10 11 12 13  | opti_thermal_habitat(
  opt_wtr,
  io,
  kd,
  lat,
  lon,
  hypso,
  irr_thresh = c(0, 2000),
  wtr_thresh = c(0, 25),
  area_type = "benthic",
  interp_hour = FALSE,
  approx_method = "linear"
)
 | 
kd | 
 Light attenuation value of the lake (in m^-1 units)  | 
hypso | 
 Hypsography data.frame, with columns   | 
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.  | 
area_type | 
 How benthic area is to be calculated. Defaults to   | 
interp_hour | 
 Interpolate to hourly data  | 
approx_method | 
 Method for the approximate function  | 
data.frame with three columns. opti_hab, therm_hab, opti_therm_hab for areas of each habitat type (with opti_therm_hab being the overlap of both). Units are in m^2*days. Divide by the number of days in the data to
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.