library(h2o)
h2o.init()
irisPath <- system.file("extdata", "iris_wheader.csv", package="h2o")
iris.hex <- h2o.uploadFile(path = irisPath, destination_frame = "iris.hex")
summary(iris.hex)
# Scale and center all the numeric columns in iris data set
scale(iris.hex[, 1:4])
Run the code above in your browser using DataLab