signum {SparkR} | R Documentation |
Computes the signum of the given value.
Computes the signum of the given value.
## S4 method for signature 'Column' signum(x) ## S4 method for signature 'Column' sign(x) signum(x)
Other math_funcs: acos
; asin
;
atan2
; atan
;
bin
, bin
; cbrt
,
cbrt
; ceil
,
ceil
, ceiling
;
conv
, conv
;
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
;
sinh
; sin
;
sqrt
; tanh
;
tan
; toDegrees
,
toDegrees
; toRadians
,
toRadians
; unhex
,
unhex
## Not run: signum(df$c)
## Not run: sign(df$c)