var_samp {SparkR}R Documentation

var_samp

Description

Aggregate function: returns the unbiased variance of the values in a group.

Usage

## S4 method for signature 'Column'
var_samp(x)

var_samp(x)

See Also

var_pop, var

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, var, variance, variance

Examples

## Not run: var_samp(df$c)

[Package SparkR version 1.6.1 Index]