shiftLeft {SparkR}R Documentation

shiftLeft

Description

Shift the 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

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

shiftLeft(y, x)

See Also

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

Examples

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

[Package SparkR version 1.6.3 Index]