last {SparkR}R Documentation

last

Description

Aggregate function: returns the last value in a group.

Usage

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

last(x)

See Also

Other agg_funcs: approxCountDistinct, approxCountDistinct, approxCountDistinct; avg, avg; countDistinct, countDistinct, countDistinct, n_distinct; count, count, count, n, nrow; first, first; max; mean; min; sumDistinct, sumDistinct; sum

Examples

## Not run: last(df$c)

[Package SparkR version 1.5.1 Index]