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