| avg {SparkR} | R Documentation |
Aggregate function: returns the average of the values in a group.
avg(x, ...) ## S4 method for signature 'Column' avg(x)
x |
Column to compute on or a GroupedData object. |
... |
additional argument(s) when |
avg since 1.4.0
Other agg_funcs: agg,
countDistinct, count,
first, kurtosis,
last, max,
mean, min, sd,
skewness, stddev_pop,
stddev_samp, sumDistinct,
sum, var_pop,
var_samp, var
## Not run: avg(df$c)