Learn R Programming

h2o (version 3.8.1.3)

dim.H2OFrame: Returns the Dimensions of an H2OFrame

Description

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

Usage

## S3 method for class 'H2OFrame':
dim(x)

Arguments

x
An H2OFrame object.

See Also

dim for the base R method.

Examples

Run this code
h2o.init()
iris.hex <- as.h2o(iris)
dim(iris.hex)

Run the code above in your browser using DataLab