light_proportion | R Documentation |
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.
light_proportion(x, light.col = "trans_llight", depth.col = "cdepth", ...)
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. |
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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.