h2o (version 3.44.0.3)

h2o.which: Which indices are TRUE?

Description

Give the TRUE indices of a logical object, allowing for array indices.

Usage

h2o.which(x)

Value

Returns an H2OFrame object.

Arguments

x

An H2OFrame object.

See Also

which for the base R method.

Examples

Run this code
if (FALSE) {
library(h2o)
h2o.init()

iris_hf <- as.h2o(iris)
h2o.which(iris_hf[, 1] == 4.4)
}

Run the code above in your browser using DataLab