conv {SparkR}R Documentation

conv

Description

Convert a number in a string column from one base to another.

Usage

conv(x, fromBase, toBase)

## S4 method for signature 'Column,numeric,numeric'
conv(x, fromBase, toBase)

See Also

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

Examples

## Not run: conv(df$n, 2, 16)

[Package SparkR version 2.0.0 Index]