var {SparkR} | R Documentation |
Aggregate function: alias for var_samp.
## S4 method for signature 'Column' var(x) ## S4 method for signature 'Column' variance(x) var(x, y = NULL, na.rm = FALSE, use) variance(x)
Other agg_funcs: agg
,
summarize
;
approxCountDistinct
,
approxCountDistinct
,
approxCountDistinct
; avg
,
avg
; countDistinct
,
countDistinct
, n_distinct
,
n_distinct
; count
,
n
, n
; first
,
first
; kurtosis
,
kurtosis
; last
,
last
; max
;
mean
; min
; sd
,
sd
, stddev
,
stddev
; skewness
,
skewness
; stddev_pop
,
stddev_pop
; stddev_samp
,
stddev_samp
; sumDistinct
,
sumDistinct
; sum
;
var_pop
, var_pop
;
var_samp
, var_samp
## Not run:
##D variance(df$c)
##D select(df, var_pop(df$age))
##D agg(df, var(df$age))
## End(Not run)