sumDistinct {SparkR} | R Documentation |
Aggregate function: returns the sum of distinct values in the expression.
## S4 method for signature 'Column' sumDistinct(x) sumDistinct(x)
x |
Column to compute on. |
sumDistinct since 1.4.0
Other agg_funcs: agg
, agg
,
agg
, agg,GroupedData-method
,
agg,SparkDataFrame-method
,
summarize
, summarize
,
summarize
,
summarize,GroupedData-method
,
summarize,SparkDataFrame-method
;
avg
, avg
,
avg,Column-method
;
countDistinct
, countDistinct
,
countDistinct,Column-method
,
n_distinct
, n_distinct
,
n_distinct,Column-method
;
count
, count
,
count,Column-method
,
count,SparkDataFrame-method
,
n
, n
,
n,Column-method
, nrow
,
nrow,SparkDataFrame-method
;
first
, first
,
first,SparkDataFrame-method
,
first,characterOrColumn-method
;
kurtosis
, kurtosis
,
kurtosis,Column-method
; last
,
last
,
last,characterOrColumn-method
;
max
, max,Column-method
;
mean
, mean,Column-method
;
min
, min,Column-method
;
sd
, sd
,
sd,Column-method
, stddev
,
stddev
, stddev,Column-method
;
skewness
, skewness
,
skewness,Column-method
;
stddev_pop
, stddev_pop
,
stddev_pop,Column-method
;
stddev_samp
, stddev_samp
,
stddev_samp,Column-method
;
sum
, sum,Column-method
;
var_pop
, var_pop
,
var_pop,Column-method
;
var_samp
, var_samp
,
var_samp,Column-method
; var
,
var
, var,Column-method
,
variance
, variance
,
variance,Column-method
## Not run: sumDistinct(df$c)