abs {SparkR}R Documentation

abs

Description

Computes the absolute value.

Usage

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

Arguments

x

Column to compute on.

Note

abs since 1.5.0

See Also

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

Examples

## Not run: abs(df$c)

[Package SparkR version 2.1.3 Index]