Learn R Programming

SparkR (version 2.1.2)

stddev_pop: stddev_pop

Description

Aggregate function: returns the population standard deviation of the expression in a group.

Usage

stddev_pop(x)

# S4 method for Column stddev_pop(x)

Arguments

x

Column to compute on.

See Also

sd, stddev_samp

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

Examples

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

Run the code above in your browser using DataLab