Learn R Programming

h2o (version 3.38.0.1)

h2o.max: Returns the maxima of the input values.

Description

Returns the maxima of the input values.

Usage

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

Arguments

x

An H2OFrame object.

na.rm

logical. indicating whether missing values should be removed.

See Also

Extremes for the base R implementation, max().

Examples

Run this code
if (FALSE) {
library(h2o)
h2o.init()

f <- "https://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_train.csv"
iris <- h2o.importFile(f)
h2o.max(iris["petal_len"], na.rm = TRUE)
}

Run the code above in your browser using DataLab