Learn R Programming

rfml (version 0.1.0)

max,ml.col.def-method: Max

Description

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

Usage

"max"(x, na.rm = FALSE)

Arguments

x
a ml.data.frame field.
na.rm
not currently used.

Value

The maximum value

Examples

Run this code
## Not run: 
#  locConn <- ml.connect()
#  # create a ml.data.frame based on a search
#  mlIris <- ml.data.frame(locConn, collection = "iris")
#  # max
#  max(mlIris$Sepal.Length)
# ## End(Not run)

Run the code above in your browser using DataLab