h2o.ncol | R Documentation |
Return the number of columns present in x.
h2o.ncol(x)
x |
An H2OFrame object. |
nrow
for the base R implementation, ncol()
.
## Not run:
library(h2o)
h2o.init()
f <- "https://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_train.csv"
iris <- h2o.importFile(f)
h2o.ncol(iris)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.