min-ml.col.def-method: Min

Description Usage Arguments Value Examples

Description

Returns the minimum value of a ml.data.frame field.

Usage

1
2
## S4 method for signature 'ml.col.def'
min(x, na.rm = FALSE)

Arguments

x

a ml.data.frame field.

na.rm

not currently used.

Value

The minimum value

Examples

1
2
3
4
5
6
7
8
## Not run: 
 ml.connect()
 # create a ml.data.frame based on a search
 mlIris <- ml.data.frame(collection = "iris")
 # min
 min(mlIris$Sepal.Length)

## End(Not run)

rfml documentation built on May 2, 2019, 3:01 a.m.