h2o.nrow: Return the number of rows present in x.

View source: R/frame.R

h2o.nrowR Documentation

Return the number of rows present in x.

Description

Return the number of rows present in x.

Usage

h2o.nrow(x)

Arguments

x

An H2OFrame object.

See Also

nrow 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.nrow(cars)

## End(Not run)

h2o documentation built on Aug. 9, 2023, 9:06 a.m.