iexp: Intelligently take exponential

Description Usage Arguments Value See Also Examples

View source: R/iexp.R

Description

The inverse of ilog for base=exp(1).

Usage

1
iexp(x, value = NULL)

Arguments

x

A numeric vector

value

A numeric indicating the value subtracted from exp(x). Default is the smallest positive value of x.

...

Values passed on to log, e.g. base

Value

A numeric vector, typically the logarithm of x

See Also

exp,ilog, min_value

Examples

1
2
x <- 0:2
all.equal(iexp(ilog(x)), x) # TRUE

jarad/ilog documentation built on May 18, 2019, 3:45 p.m.