greatest {SparkR}R Documentation

greatest

Description

Returns the greatest value of the list of column names, skipping null values. This function takes at least 2 parameters. It will return null if all parameters are null.

Usage

greatest(x, ...)

## S4 method for signature 'Column'
greatest(x, ...)

Arguments

x

Column to compute on

...

other columns

Note

greatest since 1.5.0

See Also

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

Examples

## Not run: greatest(df$c, df$d)

[Package SparkR version 2.2.2 Index]