conv {SparkR} | R Documentation |
Convert a number in a string column from one base to another.
conv(x, fromBase, toBase) ## S4 method for signature 'Column,numeric,numeric' conv(x, fromBase, toBase)
x |
column to convert. |
fromBase |
base to convert from. |
toBase |
base to convert to. |
conv since 1.5.0
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
## Not run: conv(df$n, 2, 16)