minimum {SparkR}R Documentation

Get the minimum element of an RDD.

Description

Get the minimum element of an RDD.

Usage

minimum(rdd)

## S4 method for signature 'RDD'
minimum(rdd)

Arguments

rdd

The RDD to get the minimum element from

Examples

## Not run: 
##D sc <- sparkR.init()
##D rdd <- parallelize(sc, 1:10)
##D minimum(rdd) # 1
## End(Not run)

[Package SparkR version 0.1 Index]