h2o.anyFactor: Check H2OFrame columns for factors

Description Usage Arguments Value Examples

View source: R/frame.R

Description

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

Usage

1

Arguments

x

An H2OFrame object.

Value

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

Examples

1
2
3
4
5
6
7
## Not run: 
library(h2o)
h2o.init()
iris_hf <- as.h2o(iris)
h2o.anyFactor(iris_hf)

## End(Not run)

h2o documentation built on Oct. 10, 2021, 1:08 a.m.