SparkR (version 2.1.2)

least: least

Description

Returns the least 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

least(x, ...)

# S4 method for Column least(x, ...)

Arguments

x

Column to compute on

...

other columns

See Also

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

Examples

Run this code
# NOT RUN {
least(df$c, df$d)
# }

Run the code above in your browser using DataLab