Learn R Programming

SparkR (version 2.1.2)

var_pop: var_pop

Description

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

Usage

var_pop(x)

# S4 method for Column var_pop(x)

Arguments

x

Column to compute on.

See Also

var, var_samp

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

Examples

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

Run the code above in your browser using DataLab