floor takes a single numeric argument x and returns a numeric vector containing the largest integers not greater than the corresponding elements of x.
h2o.floor(x)
An H2OFrame object.
Round
for the base R implementation, floor()
.
if (FALSE) {
library(h2o)
h2o.init()
frame <- h2o.createFrame(rows = 6, cols = 2,
categorical_fraction = 0.0,
missing_fraction = 0.7,
seed = 123)
h2o.floor(frame["C2"])
}
Run the code above in your browser using DataLab