h2o.dim: Returns the number of rows and columns for an H2OFrame...

View source: R/frame.R

h2o.dimR Documentation

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

Description

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

Usage

h2o.dim(x)

Arguments

x

An H2OFrame object.

See Also

dim for the base R implementation.

Examples

## Not run: 
library(h2o)
h2o.init()

f <- "https://s3.amazonaws.com/h2o-public-test-data/smalldata/junit/cars_20mpg.csv"
cars <- h2o.importFile(f)
h2o.dim(cars)

## End(Not run)

h2o documentation built on May 29, 2024, 4:26 a.m.