Logarithms and Exponentials for Spectra. The functions are applied to the
spectral data, not the wavelengths. The quantity in the spectrum to which the
function is applied depends on the class of x
and the current value of
output options
# S3 method for generic_spct
log(x, base = exp(1))log2.generic_spct(x)
log10.generic_spct(x)
# S3 method for generic_spct
exp(x)
an object of class "generic_spct"
a positive number: the base with respect to which logarithms are computed. Defaults to e=exp(1).
An object of the same class as x
.
Other math operators and functions:
MathFun
,
^.generic_spct()
,
convolve_each()
,
div-.generic_spct
,
minus-.generic_spct
,
mod-.generic_spct
,
plus-.generic_spct
,
round()
,
sign()
,
slash-.generic_spct
,
times-.generic_spct