h2o.any: Given a set of logical vectors, is at least one of the values...

View source: R/frame.R

h2o.anyR Documentation

Given a set of logical vectors, is at least one of the values true?

Description

Given a set of logical vectors, is at least one of the values true?

Usage

h2o.any(x)

Arguments

x

An H2OFrame object.

See Also

all for the base R implementation.

Examples

## Not run: 
library(h2o)
h2o.init()

f <- "https://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_train.csv"
iris <- h2o.importFile(f)
h2o.any(iris[, 1] < 1000)

## End(Not run)

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