Learn R Programming

photobiology (version 0.9.6)

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

## S3 method for class 'generic_spct':
cos(x)

## S3 method for class 'generic_spct':
sin(x)

## S3 method for class 'generic_spct':
tan(x)

## S3 method for class 'generic_spct':
acos(x)

## S3 method for class 'generic_spct':
asin(x)

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