R/frame.R
Determines if any column of an H2OFrame object contains categorical data.
h2o.anyFactor(x)
x | An |
---|
Returns a logical value indicating whether any of the columns in x
are factors.
# NOT RUN { library(h2o) h2o.init() irisPath <- system.file("extdata", "iris_wheader.csv", package="h2o") iris.hex <- h2o.importFile(path = irisPath) h2o.anyFactor(iris.hex) # }