Extract unique values in the column.

h2o.unique(x)

Arguments

x

An H2OFrame object.

Value

Returns an H2OFrame object.

Examples

if (FALSE) {
library(h2o)
h2o.init()

f <- "http://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_wheader.csv"
iris <- h2o.importFile(f)
h2o.unique(iris["class"])
}