Learn R Programming

h2o (version 3.38.0.1)

dim.H2OFrame: Returns the Dimensions of an H2OFrame

Description

Returns the number of rows and columns for an H2OFrame object.

Usage

# S3 method for H2OFrame
dim(x)

Arguments

x

An H2OFrame object.

See Also

dim for the base R method.

Examples

Run this code
if (FALSE) {
library(h2o)
h2o.init()

iris_hf <- as.h2o(iris)
dim(iris_hf)
}

Run the code above in your browser using DataLab