shiftLeft {SparkR}R Documentation

shiftLeft

Description

Shift the given value numBits left. If the given value is a long value, this function will return a long value else it will return an integer value.

Usage

shiftLeft(y, x)

## S4 method for signature 'Column,numeric'
shiftLeft(y, x)

Arguments

y

column to compute on.

x

number of bits to shift.

Note

shiftLeft since 1.5.0

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

Examples

## Not run: shiftLeft(df$c, 1)

[Package SparkR version 2.2.1 Index]