Package ‘photobiology’ defines a system of classes for storing spectral data and accompanying methods and operators. This is the core of a suite of R packages for photobiological calculations.
As we have a NDxI() function and q_ratio(), e_ratio() and ratio() functions we should add support for computing fractions based on pairs of wavelengths: we can just add an option to q_ratio(), e_ratio() and ratio(). Maybe named qty.out with values "ratio", "spct.ratio", and "fraction" and "spct.fraction", thus addressing also #13.
As we have a
NDxI()
function andq_ratio()
,e_ratio()
andratio()
functions we should add support for computing fractions based on pairs of wavelengths: we can just add an option toq_ratio()
,e_ratio()
andratio()
. Maybe namedqty.out
with values"ratio"
,"spct.ratio"
, and"fraction"
and"spct.fraction"
, thus addressing also #13.