Learn R Programming

h2o (version 2.8.4.4)

Extremes: Maxima and Minima

Description

Calculates the (parallel) minimum of the input values. This method extends the min generic to deal with H2OParsedData objects.

Usage

max(..., na.rm = FALSE)
min(..., na.rm = FALSE)

Arguments

...
Numeric, character or H2OParsedData arguments.
na.rm
Logical value where FALSE does not remove NA's in the calculation and TRUE removes NA's in the calculation.

Value

  • Returns the maximum or minimum over all the input arguments. For a H2OParsedData object, the function is calculated over all entries in the dataset. An error will occur if any of those entries is non-numeric.

Examples

Run this code
library(h2o)
localH2O = h2o.init()
ausPath = system.file("extdata", "australia.csv", package = "h2o")
australia.hex = h2o.importFile(localH2O, path = ausPath, key = "australia.hex")
min(australia.hex)

Run the code above in your browser using DataLab