Learn R Programming

h2o (version 3.2.0.3)

h2o.dim: Returns the Dimensions of a Parsed H2O Data Object.

Description

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

Usage

h2o.dim(x)

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

Arguments

x
An H2OFrame object.

See Also

dim for the base R method.

Examples

Run this code
localH2O <- h2o.init()
irisPath <- system.file("extdata", "iris.csv", package="h2o")
iris.hex <- h2o.uploadFile(localH2O, path = irisPath)
dim(iris.hex)

Run the code above in your browser using DataLab