mean {SparkR}R Documentation

mean

Description

Aggregate function: returns the average of the values in a group. Alias for avg.

Usage

## S4 method for signature 'Column'
mean(x)

See Also

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

Examples

## Not run: mean(df$c)

[Package SparkR version 2.0.0 Index]