powered by
Aggregate function: returns the average of the values in a group.
avg(x, ...)# S4 method for Column avg(x)
# S4 method for Column avg(x)
Column to compute on or a GroupedData object.
additional argument(s) when x is a GroupedData object.
x
Other aggregate functions: column_aggregate_functions, corr(), count(), cov(), first(), last()
column_aggregate_functions
corr()
count()
cov()
first()
last()
# NOT RUN { avg(df$c) # }
Run the code above in your browser using DataLab