negate {SparkR}R Documentation

negate

Description

Unary minus, i.e. negate the expression.

Usage

negate(x)

## S4 method for signature 'Column'
negate(x)

See Also

Other normal_funcs: abs, bitwiseNOT, column, expr, greatest, ifelse, isnan, least, lit, nanvl, randn, rand, struct, when

Examples

## Not run: negate(df$c)

[Package SparkR version 2.0.0 Index]