SUVA: Calculate SUVA indice

View source: R/SUVA.R

SUVAR Documentation

Calculate SUVA indice

Description

This function reads any number of CDOM files and calculate SUVA. You have to manually load DOC file for SUVA Wavelengths chosen based on Helms 2008 Calculate spectral slope with a reference wavelength The model use a nonlinear least square fitting routine The equation is abs = abs0 * exp(-S(wavelength - ref.wavelength)) + K as in Markager & Vincent 2000 where abs is the absorption coef, abs0 is the reference absorption coef at wavelenth and ref.wavelength S is the slope and K is an additional background parameter to allow baseline to shift

Usage

SUVA(
  data.file = "data",
  FileSelect = F,
  DOC,
  wl = 254,
  unit = "mg/L",
  skip = 1,
  name = "SUVAMatches"
)

Arguments

FileSelect

is a logical parameter to allow you which file to load. Default is FALSE, meaning that all files in /CDOM will be loaded


RichardLaBrie/paRafac_correction documentation built on March 13, 2023, 2:11 p.m.