conv {SparkR}R Documentation

conv

Description

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

Usage

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

conv(x, fromBase, toBase)

See Also

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

Examples

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

[Package SparkR version 1.6.3 Index]