Learn R Programming

SparkR (version 2.1.2)

var_samp: var_samp

Description

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

Usage

var_samp(x)

# S4 method for Column var_samp(x)

Arguments

x

Column to compute on.

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

Run this code
# NOT RUN {
var_samp(df$c)
# }

Run the code above in your browser using DataLab