h2o (version 3.2.0.3)

h2o.median: H2O Median

Description

Compute the arithmetic mean of a H2OFrame.

Usage

h2o.median(x, na.rm = TRUE)

## S3 method for class 'H2OFrame': median(x, na.rm = TRUE)

Arguments

x
An H2OFrame object.
na.rm
a logical, indicating whether na's are omitted.

Examples

Run this code
localH2O <- h2o.init()
prosPath <- system.file("extdata", "prostate.csv", package="h2o")
prostate.hex <- h2o.uploadFile(localH2O, path = prosPath, destination_frame = "prostate.hex")

Run the code above in your browser using DataLab