as.matrix.H2OFrame | R Documentation |
Convert an H2OFrame to a matrix
## S3 method for class 'H2OFrame'
as.matrix(x, ...)
x |
An H2OFrame object |
... |
Further arguments to be passed down from other methods. |
## Not run:
library(h2o)
h2o.init()
iris_hf <- as.h2o(iris)
describe <- h2o.describe(iris_hf)
mins = as.matrix(apply(iris_hf, 2, min))
print(mins)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.