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