nanvl {SparkR} | R Documentation |
Returns col1 if it is not NaN, or col2 if col1 is NaN. hhBoth inputs should be floating point columns (DoubleType or FloatType).
## S4 method for signature 'Column' nanvl(y, x) nanvl(y, x)
Other normal_funcs: abs
;
bitwiseNOT
, bitwiseNOT
;
col
, column
,
column
; expr
,
expr
; greatest
,
greatest
; ifelse
;
is.nan
, isnan
,
isnan
; least
,
least
; lit
,
lit
; negate
,
negate
; randn
,
randn
, randn
;
rand
, rand
,
rand
; struct
,
struct
; when
## Not run: nanvl(df$c, x)