Learn R Programming

ldat (version 0.3.3)

Math.lvec: Implementation of Math group generics for lvec

Description

Implementation of Math group generics for lvec

Usage

# S3 method for lvec
Math(x, ...)

Arguments

x

an object of type lvec.

...

passed on to the corresponding R functions

Value

Returns an link{lvec} of the same length as the input.

Details

Math is group generic implementing the following functions: abs, sign, sqrt, floor, ceiling, trunc, round, signif exp, log, expm1, log1p, cos, sin, tan, cospi, sinpi, tanpi, acos, asin, atan, cosh, sinh, tanh, acosh, asinh, atanh, lgamma, gamma, digamma, trigamma, cumsum, cumprod, cummax, cummin. For more information see Math.