h2o (version 3.10.5.2)

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

h2o.init()
iris.hex <- as.h2o(iris)
dim(iris.hex)

Run the code above in your browser using DataCamp Workspace