SparkR (version 2.1.2)

log1p: log1p

Description

Computes the natural logarithm of the given value plus one.

Usage

# S4 method for Column
log1p(x)

Arguments

x

Column to compute on.

See Also

Other math_funcs: acos, asin, atan2, atan, bin, bround, cbrt, ceil, conv, corr, cosh, cos, covar_pop, cov, expm1, exp, factorial, floor, hex, hypot, log10, log2, log, pmod, rint, round, shiftLeft, shiftRightUnsigned, shiftRight, signum, sinh, sin, sqrt, tanh, tan, toDegrees, toRadians, unhex

Examples

Run this code
# NOT RUN {
log1p(df$c)
# }

Run the code above in your browser using DataCamp Workspace