approxCountDistinct {SparkR} | R Documentation |
Aggregate function: returns the approximate number of distinct items in a group.
Approx Count Distinct
## S4 method for signature 'Column' approxCountDistinct(x, rsd = 0.95) ## S4 method for signature 'Column' approxCountDistinct(x, rsd = 0.95) approxCountDistinct(x, ...)
the approximate number of distinct items in a group.
Other agg_funcs: avg
, avg
;
countDistinct
, countDistinct
,
countDistinct
, n_distinct
;
count
, count
,
count
, n
, nrow
;
first
, first
;
last
, last
;
max
; mean
; min
;
sumDistinct
, sumDistinct
;
sum
Other agg_funcs: avg
, avg
;
countDistinct
, countDistinct
,
countDistinct
, n_distinct
;
count
, count
,
count
, n
, nrow
;
first
, first
;
last
, last
;
max
; mean
; min
;
sumDistinct
, sumDistinct
;
sum
## Not run: approxCountDistinct(df$c)