Learn R Programming

h2o (version 3.38.0.1)

as.matrix.H2OFrame: Convert an H2OFrame to a matrix

Description

Convert an H2OFrame to a matrix

Usage

# S3 method for H2OFrame
as.matrix(x, ...)

Arguments

x

An H2OFrame object

...

Further arguments to be passed down from other methods.

Examples

Run this code
if (FALSE) {
library(h2o)
h2o.init()
iris_hf <- as.h2o(iris)
describe <- h2o.describe(iris_hf)
mins = as.matrix(apply(iris_hf, 2, min))
print(mins)
}

Run the code above in your browser using DataLab