h2o.anyFactor: Check H2OFrame columns for factors

View source: R/frame.R

h2o.anyFactorR Documentation

Check H2OFrame columns for factors

Description

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

Usage

h2o.anyFactor(x)

Arguments

x

An H2OFrame object.

Value

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)

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