Learn R Programming

photobiology (version 0.11.3)

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)

Arguments

x

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