h2o.unique | R Documentation |
Extract unique values in the column.
h2o.unique(x, include_nas = FALSE)
x |
An H2OFrame object. |
include_nas |
If set to TRUE, NAs are included. FALSE (turned off) by default. |
Returns an H2OFrame object.
## Not run:
library(h2o)
h2o.init()
f <- "https://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_wheader.csv"
iris <- h2o.importFile(f)
h2o.unique(iris["class"])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.