negate {SparkR}R Documentation

negate

Description

Unary minus, i.e. negate the expression.

Usage

negate(x)

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

Arguments

x

Column to compute on.

Note

negate since 1.5.0

See Also

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

Examples

## Not run: negate(df$c)

[Package SparkR version 2.2.2 Index]