h2o.levels | R Documentation |
Return the levels from the column requested column.
h2o.levels(x, i)
x |
An H2OFrame object. |
i |
Optional, the index of the column whose domain is to be returned. |
levels
for the base R method.
## Not run:
library(h2o)
h2o.init()
iris_hf <- as.h2o(iris)
h2o.levels(iris_hf, 5) # returns "setosa" "versicolor" "virginica"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.