log2 {SparkR}R Documentation

log2

Description

Computes the logarithm of the given column in base 2.

Usage

## S4 method for signature 'Column'
log2(x)

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, log1p, log, pmod, rint, round, shiftLeft, shiftRightUnsigned, shiftRight, signum, sinh, sin, sqrt, tanh, tan, toDegrees, toRadians, unhex

Examples

## Not run: log2(df$c)

[Package SparkR version 2.0.0 Index]