rint {SparkR}R Documentation

rint

Description

Returns the double value that is closest in value to the argument and is equal to a mathematical integer.

Usage

rint(x)

## S4 method for signature 'Column'
rint(x)

Arguments

x

Column to compute on.

Note

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

Examples

## Not run: rint(df$c)

[Package SparkR version 2.2.3 Index]