h2o.ceiling function

Take a single numeric argument and return a numeric vector with the smallest integers

Take a single numeric argument and return a numeric vector with the smallest integers

ceiling takes a single numeric argument x and returns a numeric vector containing the smallest integers not less than the corresponding elements of x.

h2o.ceiling(x)

Arguments

  • x: An H2OFrame object.

Examples

## 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.ceiling(iris[, 1]) ## End(Not run)

See Also

Round for the base R implementation, ceiling().

  • Maintainer: Tomas Fryda
  • License: Apache License (== 2.0)
  • Last published: 2024-01-11