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