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 aggregate functions:
column_aggregate_functions
,
corr()
,
count()
,
cov()
,
first()
,
last()
## Not run: avg(df$c)