var_samp {SparkR}R Documentation

var_samp

Description

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

Usage

var_samp(x)

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

Arguments

x

Column to compute on.

Note

var_samp since 1.6.0

See Also

var_pop, var

Other agg_funcs: agg, avg, countDistinct, count, first, kurtosis, last, max, mean, min, sd, skewness, stddev_pop, stddev_samp, sumDistinct, sum, var_pop, var

Examples

## Not run: var_samp(df$c)

[Package SparkR version 2.1.2 Index]