light_proportion: Calculate relative light level and linear attenuation...

View source: R/tlutilities.R

light_proportionR Documentation

Calculate relative light level and linear attenuation coefficient

Description

light_proportion calculates the proportion of light and the linear attenuation coefficient for each depth bin, relative to the highest observed light level for a cast.

Usage

light_proportion(x, light.col = "trans_llight", depth.col = "cdepth", ...)

Arguments

x

A data frame which contains light and depth measurements.

light.col

Name of the column containing light measurements.

depth.col

Name of the column containing depth measurements.

Value

Returns a data frame containing input values, the proportion of light relative to the highest observed light measurement as light_ratio, and the attenuation coefficient of diffuse downwelling irradiance relative to the highest observed light measurement as k_linear.


sean-rohan/trawllight documentation built on Jan. 13, 2023, 10:43 p.m.