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, from_json, greatest, ifelse, isnan, least, lit, nanvl, negate, randn, rand, struct, to_json, when

Examples

## Not run: abs(df$c)

[Package SparkR version 2.2.3 Index]