Learn R Programming

SparkR (version 2.1.2)

min: min

Description

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

Usage

# S4 method for Column
min(x)

Arguments

x

Column to compute on.

See Also

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

Examples

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

Run the code above in your browser using DataLab