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: approxCountDistinct, approxCountDistinct, approxCountDistinct; avg, avg; countDistinct, countDistinct, countDistinct, n_distinct; count, count, count, n, nrow; first, first; last, last; max; min; sumDistinct, sumDistinct; sum

Examples

## Not run: mean(df$c)

[Package SparkR version 1.5.2 Index]