MathFun: Miscellaneous Mathematical Functions

Description Usage Arguments See Also

Description

abs(x) computes the absolute value of x, sqrt(x) computes the (principal) square root of x. The functions are applied to the spectral data, not the wavelengths. The quantity in the spectrum to which the function is appled depends on the class of x and the current value of output options.

Usage

1
2
3
4
5
## S3 method for class 'generic_spct'
sqrt(x)

## S3 method for class 'generic_spct'
abs(x)

Arguments

x

an object of class "generic_spct"

See Also

Other math operators and functions: ^.generic_spct, convolve_each, div-.generic_spct, log, minus-.generic_spct, mod-.generic_spct, plus-.generic_spct, round, sign, slash-.generic_spct, times-.generic_spct



Search within the photobiology package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.