h2o.anyFactor function

Check H2OFrame columns for factors

Check H2OFrame columns for factors

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

h2o.anyFactor(x)

Arguments

  • x: An H2OFrame object.

Returns

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

Examples

## Not run: library(h2o) h2o.init() iris_hf <- as.h2o(iris) h2o.anyFactor(iris_hf) ## End(Not run)
  • Maintainer: Tomas Fryda
  • License: Apache License (== 2.0)
  • Last published: 2024-01-11