shiftRight

0th

Percentile

shiftRight

(Signed) 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 Column,numeric shiftRight(y, x)

Arguments
y

column to compute on.

x

number of bits to shift.

Note

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

Aliases
  • shiftRight
  • shiftRight
  • shiftRight,Column,numeric-method
Examples
# NOT RUN {
shiftRight(df$c, 1)
# }
Documentation reproduced from package SparkR, version 2.1.2, License: Apache License (== 2.0)

Community examples

Looks like there are no examples yet.