powered by
Unary minus, i.e. negate the expression.
negate(x)# S4 method for Column negate(x)
# S4 method for Column negate(x)
Column to compute on.
Other normal_funcs: abs, bitwiseNOT, coalesce, column, expr, greatest, ifelse, isnan, least, lit, nanvl, randn, rand, struct, when
abs
bitwiseNOT
coalesce
column
expr
greatest
ifelse
isnan
least
lit
nanvl
randn
rand
struct
when
# NOT RUN { negate(df$c) # }
Run the code above in your browser using DataLab