Determines if any column of an H2OFrame object contains categorical data.

h2o.anyFactor(x)

Arguments

x

An H2OFrame object.

Value

Returns a logical value indicating whether any of the columns in x are factors.

Examples

if (FALSE) {
library(h2o)
h2o.init()
iris_hf <- as.h2o(iris)
h2o.anyFactor(iris_hf)
}