calculateIndices: calculate a suite of spectral indices on normalized data

View source: R/spectralCalculationsNick.R

calculateIndicesR Documentation

calculate a suite of spectral indices on normalized data

Description

calculate a suite of spectral indices on normalized data

Usage

calculateIndices(
  normalized,
  indices = c("RABD660", "RABD660670", "RABD845", "R570R630", "R590R690"),
  tol = 1,
  smooth.win = round(0.2/normalized$cmPerPixel)
)

Arguments

normalized

Normalized spectral data (the output of 'specimR::calculateMeanRows()')

indices

a character vector of the requested indices. Current options are: "RABD660","RABD845","R570R630"and "R590R690" (default = c("RABD660","RABD845","R570R630","R590R690"))

tol

the tolerance to use when matching wavelengths (in nm)

Value

a data.frame with depth and the requested indices


nickmckay/specimR documentation built on July 6, 2022, 8:09 p.m.