h2o.floor: Take a single numeric argument and return a numeric vector...

View source: R/frame.R

h2o.floorR Documentation

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

Description

floor takes a single numeric argument x and returns a numeric vector containing the largest integers not greater than the corresponding elements of x.

Usage

h2o.floor(x)

Arguments

x

An H2OFrame object.

See Also

Round for the base R implementation, floor().

Examples

## Not run: 
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"])

## End(Not run)

h2o documentation built on May 29, 2024, 4:26 a.m.