# S4 method for hyperSpec
Math2(x, digits)

# S4 method for hyperSpec
log(x, base = exp(1), ...)

# S4 method for hyperSpec
Math(x)

Arguments

x

the hyperSpec object

digits

integer stating the rounding precision

base

base of logarithm

...

ignored

Value

a hyperSpec object

See also

methods::S4groupGeneric() for group generic methods.

base::Math() for the base math functions.

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

Author

C. Beleites

Examples


log(flu)
#> hyperSpec object
#>    6 spectra
#>    3 data columns
#>    181 data points / spectrum