h2o (version 3.32.0.1)

h2o.which: Which indices are TRUE?

Description

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

Usage

h2o.which(x)

Arguments

x

An H2OFrame object.

Value

Returns an H2OFrame object.

See Also

which for the base R method.

Examples

Run this code
# NOT RUN {
library(h2o)
h2o.init()

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

Run the code above in your browser using DataCamp Workspace