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; col, column, column; expr, expr; greatest, greatest; ifelse; is.nan, isnan, isnan; least, least; lit, lit; nanvl, nanvl; randn, randn, randn; rand, rand, rand; struct, struct; when

Examples

## Not run: negate(df$c)

[Package SparkR version 1.6.1 Index]