SparkR (version 2.1.2)

max: max

Description

Aggregate function: returns the maximum value of the expression in a group.

Usage

# S4 method for Column
max(x)

Arguments

x

Column to compute on.

See Also

Other agg_funcs: agg, avg, countDistinct, count, first, kurtosis, last, mean, min, sd, skewness, stddev_pop, stddev_samp, sumDistinct, sum, var_pop, var_samp, var

Examples

Run this code
# NOT RUN {
max(df$c)
# }

Run the code above in your browser using DataLab