estimate_surface: Estimate missing light measurement from reference depth bin

View source: R/estimate_surface.R

estimate_surfaceR Documentation

Estimate missing light measurement from reference depth bin

Description

Uses the linear attenuation coefficient of downwelling irradiance for the reference depth bin for cases with missing data.

Usage

estimate_surface(
  x,
  atten.col = "k_linear",
  ratio.col = "light_ratio",
  light.col = "trans_llight",
  depth.col = "cdepth",
  id.col = c("vessel", "cruise", "haul", "updown", "quality", "k_column")
)

Arguments

x

Data frame containing depth, proportional light, binned light measurement, depth, and additional columns.

atten.col

Name of the column containing the linear attenuation coefficient. Default = "k_linear"

ratio.col

Name of the column containing proportional light level. Default = "light_ratio"

light.col

Name of the column containing light measurement. Default = "trans_llight"

depth.col

Name of the column containing depth. Default = "cdepth"

id.col

Vector of column names which uniquely identify data for a single cast.

Author(s)

Sean Rohan sean.rohan@noaa.gov


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