powered by
Aggregate function: returns the sum of distinct values in the expression.
sumDistinct(x)# S4 method for Column sumDistinct(x)
# S4 method for Column sumDistinct(x)
Column to compute on.
Other agg_funcs: agg, avg, countDistinct, count, first, kurtosis, last, max, mean, min, sd, skewness, stddev_pop, stddev_samp, sum, var_pop, var_samp, var
agg
avg
countDistinct
count
first
kurtosis
last
max
mean
min
sd
skewness
stddev_pop
stddev_samp
sum
var_pop
var_samp
var
# NOT RUN { sumDistinct(df$c) # }
Run the code above in your browser using DataLab