R/numeric-helpers.R

logm1.Rd

Computes log(x - 1).

log(x - 1)

logm1(x, base = exp(1))

A numeric or complex vector.

A positive or complex number: the base with respect to which logarithms are computed. Defaults to e = exp(1).

exp(1)