Sorts an H2O frame by columns
Sorts H2OFrame by the columns specified. H2OFrame can contain String columns but should not sort on any String columns. Otherwise, an error will be thrown. To sort column c1 in descending order, do desc(c1). Returns a new H2OFrame, like dplyr::arrange.
h2o.arrange(x, ...)
x |
The H2OFrame input to be sorted. |
... |
The column names to sort by. |
## Not run: library(h2o) h2o.init() f <- "https://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_train.csv" iris <- h2o.importFile(f) h2o.arrange(iris, "species","petal_len","petal_wid") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.