Convert an H2OFrame to a matrix
# S3 method for H2OFrame as.matrix(x, ...)
x | An H2OFrame object |
---|---|
... | Further arguments to be passed down from other methods. |
# NOT RUN { h2o.init() irisPath <- system.file("extdata", "iris.csv", package="h2o") iris <- h2o.uploadFile(path = irisPath) iris.hex <- as.h2o(iris) describe <- h2o.describe(iris.hex) mins = as.matrix(apply(iris.hex, 2, min)) print(mins) # }