Return the number of rows present in x.
h2o.nrow(x)
An H2OFrame object.
nrow
for the base R implementation.
if (FALSE) {
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)
}
Run the code above in your browser using DataLab