Learn R Programming

h2o (version 2.8.4.4)

which: Return the row numbers for which the condition is true

Description

which, a method for the which base method.

Usage

which(x, arr.ind = FALSE, useNames = TRUE)

Arguments

x
An H2OParsedData object
arr.ind
Ignored
useNames
Ignored

Details

Similar to R's which.

Examples

Run this code
library(h2o)
localH2O = h2o.init()
hex <- as.h2o(localH2O, iris)
which(hex[,5] == "setosa")

Run the code above in your browser using DataLab