photobiology (version 0.9.25)

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 applied depends on the class of x and the current value of output options.

Usage

# S3 method for generic_spct
cos(x)

# S3 method for generic_spct sin(x)

# S3 method for generic_spct tan(x)

# S3 method for generic_spct acos(x)

# S3 method for generic_spct asin(x)

# S3 method for generic_spct 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.