negate {SparkR}R Documentation

negate

Description

Unary minus, i.e. negate the expression.

Usage

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

negate(x)

See Also

Other normal_funcs: abs; bitwiseNOT, bitwiseNOT; expr, expr; greatest, greatest; ifelse; isNaN, isNaN; least, least; lit, lit; nanvl, nanvl; randn, randn, randn; rand, rand, rand; when

Examples

## Not run: negate(df$c)

[Package SparkR version 1.5.2 Index]