sum {SparkR}R Documentation

sum

Description

Aggregate function: returns the sum of all values in the expression.

Usage

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

See Also

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

Examples

## Not run: sum(df$c)

[Package SparkR version 2.0.0 Index]