Math {hyperSpec}R Documentation

Math Functions for hyperSpec Objects

Description

The functions abs, sign,

sqrt,

floor, ceiling, trunc, round, signif,

exp, log, expm1, log1p,

cos, sin, tan, acos, asin, atan, cosh, sinh, tanh, acosh, asinh, atanh,

lgamma, gamma, digamma, trigamma,

cumsum, cumprod, cummax, cummin

for hyperSpec objects.

Arguments

x the hyperSpec object
digits integer stating the rounding precision

Details

All these functions work on the spectra matrix.

Value

a hyperSpec object

Usage

## S4 methods for signature 'hyperSpec':

abs (x), sign (x),

sqrt (x),

floor (x), ceiling (x), trunc (x), round (x, digits), signif (x, digits),

exp (x), log (x), expm1 (x), log1p (x),

cos (x), sin (x), tan (x), acos (x), asin (x), atan (x), cosh (x), sinh (x), tanh (x), acosh (x), asinh (x), atanh (x),

lgamma (x), gamma (x), digamma (x), trigamma (x),

cumsum (x), cumprod (x), cummax (x), cummin (x)

Author(s)

C. Beleites

See Also

S4groupGeneric for group generic methods.

Math for the base math functions.

Arith for arithmetic operators, Comparison for comparison operators, and Summary for group generic functions working on hyperSpec objects.

Examples

        log (flu) 

[Package hyperSpec version 0.95 Index]