Learn R Programming

SparkR (version 2.1.2)

shiftRightUnsigned: shiftRightUnsigned

Description

Unsigned 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

shiftRightUnsigned(y, x)

# S4 method for Column,numeric shiftRightUnsigned(y, x)

Arguments

y

column to compute on.

x

number of bits to shift.

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, shiftRight, signum, sinh, sin, sqrt, tanh, tan, toDegrees, toRadians, unhex

Examples

Run this code
# NOT RUN {
shiftRightUnsigned(df$c, 1)
# }

Run the code above in your browser using DataLab