Learn R Programming

hyperSpec (version 0.98-20140523)

Math2: Math Functions for hyperSpec Objects

Description

The functions abs, sign,

Usage

## S3 method for class 'hyperSpec':
Math2(x, digits)

## S3 method for class 'hyperSpec': log(x, base = exp(1), ..., short = "log", user = NULL, date = NULL)

## S3 method for class 'hyperSpec': Math(x)

Arguments

x
the hyperSpec object
digits
integer stating the rounding precision
...
ignored
base
base of logarithm
short,user,date
handed to logentry

Value

  • a hyperSpec object

Details

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.

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

Run this code
log (flu)

Run the code above in your browser using DataLab