colnames | R Documentation |
Returns the column names of an H2OFrame
colnames(x, do.NULL = TRUE, prefix = "col")
x |
An H2OFrame object. |
do.NULL |
logical. If FALSE and names are NULL, names are created. |
prefix |
for created names. |
## Not run:
library(h2o)
h2o.init()
iris_hf <- as.h2o(iris)
colnames(iris_hf) # Returns "Sepal.Length" "Sepal.Width" "Petal.Length" "Petal.Width" "Species"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.