h2o.levels: Return the levels from the column requested column.

Description Usage Arguments See Also Examples

Description

Return the levels from the column requested column.

Usage

1
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

1
2
iris.hex <- as.h2o(iris)
h2o.levels(iris.hex, 5)  # returns "setosa"     "versicolor" "virginica"


Search within the h2o package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.