abs {SparkR}R Documentation

abs

Description

Computes the absolute value.

Usage

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

See Also

Other normal_funcs: bitwiseNOT, bitwiseNOT; col, column, column; expr, expr; greatest, greatest; ifelse; is.nan, isnan, isnan; least, least; lit, lit; nanvl, nanvl; negate, negate; randn, randn, randn; rand, rand, rand; struct, struct; when

Examples

## Not run: abs(df$c)

[Package SparkR version 1.6.3 Index]