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

Description Usage Arguments See Also Examples

View source: R/frame.R

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"

h2o documentation built on July 4, 2017, 9:42 a.m.

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