Learn R Programming

BMhyb (version 1.5.2)

ConvertLog1P: Logarithms

Description

ConvertLog1P computes log(1+x) accurately also for |x| << 1.

Usage

ConvertLog1P(x)

Arguments

x

x: a numeric or complex vector

Value

A vector of the same length as 'x' containing the transformed value.

Details

see function log1p(x) in for more detail description.

References

Becker, R.A., Chambers, J.M. and Wilks, A.R. 1988. The New S Language. Wadsworth and Brooks Cole.