shiftRight {SparkR}R Documentation

shiftRight

Description

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

Usage

shiftRight(y, x)

## S4 method for signature 'Column,numeric'
shiftRight(y, 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, log2, log, pmod, rint, round, shiftLeft, shiftRightUnsigned, signum, sinh, sin, sqrt, tanh, tan, toDegrees, toRadians, unhex

Examples

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

[Package SparkR version 2.0.0 Index]