# NOT RUN {
h2o.init()
iris_hf <- as.h2o(iris)
new.levels <- c("setosa", "versicolor", "caroliniana")
iris_hf$Species <- h2o.setLevels(iris_hf$Species, new.levels, in.place = FALSE)
h2o.levels(iris_hf$Species)
# }
Run the code above in your browser using DataLab