Return the levels from the column requested column.

h2o.levels(x, i)

Arguments

x

An H2OFrame object.

i

Optional, the index of the column whose domain is to be returned.

See also

levels for the base R method.

Examples

# NOT RUN {
iris.hex <- as.h2o(iris)
h2o.levels(iris.hex, 5)  # returns "setosa"     "versicolor" "virginica"
# }