| avg {SparkR} | R Documentation |
Aggregate function: returns the average of the values in a group.
## S4 method for signature 'Column' avg(x) avg(x, ...)
Other agg_funcs: approxCountDistinct,
approxCountDistinct,
approxCountDistinct;
countDistinct, countDistinct,
countDistinct, n_distinct;
count, count,
count, n, nrow;
first, first;
last, last;
max; mean; min;
sumDistinct, sumDistinct;
sum
## Not run: avg(df$c)