SparkR (version 2.1.2)

stddev_samp: stddev_samp

Description

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

Usage

stddev_samp(x)

# S4 method for Column stddev_samp(x)

Arguments

x

Column to compute on.

See Also

stddev_pop, sd

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

Examples

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

Run the code above in your browser using DataLab