| absindex | R Documentation | 
Calculate absorption coefficients and/or absorbance data at given wavelengths, spectral slopes, and their ratios.
  absindex(
    x, abs.path, unit = c("log10", "m^-1"), out.A = 254,
    out.a = c(350, 355, 374, 443),
    out.a.ratio = list(c(250, 365), c(465, 665)),
    out.slope = list(c(275, 295), c(350, 400)),
    out.slope.ratio = list(c(275, 295, 350, 400)),
    out.slope.nrmse = FALSE
  )
x | 
 Absorption data, either a   | 
abs.path | 
 A numeric vector of optical path lengths for every spectrum, in
centimetres. Defaults to   | 
unit | 
 Specifies whether   | 
A = log10(I0 / I)
A = log<sub>10</sub>(<sup>I<sub>0</sub></sup>/<sub>I</sub>);
unitless) or absorption coefficients (m^-1;
3{
      \alpha = \frac{\ln \frac{I_0}{I}}{l}
    
Currently, the spectral slopes are calculated by fitting a linear model 3{ \ln \alpha = b_0 - b_1 \lambda
A data.frame with one row per sample, containing
the following columns:
sample | 
 Names or numbers of the samples.  | 
A.<wavelength> | 
 Absorbance values, for every \vwavelength in   | 
a.<wavelength> | 
 Absorption coefficients, for every \vwavelength in   | 
aR.<wl[1]>.<wl[2]> | 
 Ratios of absorption coefficients, for every \vwl in
  | 
S.<wl[1]>.<wl[2]> | 
 Spectral slopes, for every \vwl in   | 
NRMSE.S.<wl[1]>.<wl[2]> | 
 If   | 
SR.<wl[1]>.<wl[2]>.<wl[3]>.<wl[4]> | 
 Ratios of spectral slopes, for every \vwl in
  | 
feemife
  data(feems)
  absindex(absorp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.