powered by
Determines if any column of an H2OFrame object contains categorical data.
h2o.anyFactor(x)
An H2OFrame object.
H2OFrame
Returns a logical value indicating whether any of the columns in x are factors.
x
library(h2o) h2o.init() irisPath <- system.file("extdata", "iris_wheader.csv", package="h2o") iris.hex <- h2o.importFile(path = irisPath) h2o.anyFactor(iris.hex)
Run the code above in your browser using DataLab