Learn R Programming

photobiology (version 0.9.11)

Trig: Trigonometric Functions

Description

Trigonometric functions for object of generic_spct and derived classes. \ 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

"cos"(x)
"sin"(x)
"tan"(x)
"acos"(x)
"asin"(x)
"atan"(x)
cospi.generic_spct(x)
sinpi.generic_spct(x)
tanpi.generic_spct(x)

Arguments

x
an object of class "generic_spct" or a derived class.