Learn R Programming

h2o (version 3.38.0.1)

print.H2OFrame: Print An H2OFrame

Description

Print An H2OFrame

Usage

# S3 method for H2OFrame
print(x, n = 6L, m = 200L, ...)

Arguments

x

An H2OFrame object

n

An (Optional) A single integer. If positive, number of rows in x to return. If negative, all but the n first/last number of rows in x. Anything bigger than 20 rows will require asking the server (first 20 rows are cached on the client).

m

An (Optional) A single integer. If positive, number of columns in x to return. If negative, all but the m first/last number of columns in x.

...

Further arguments to be passed from or to other methods.

Examples

Run this code
if (FALSE) {
library(h2o)
h2o.init()

f <- "https://s3.amazonaws.com/h2o-public-test-data/smalldata/junit/cars_20mpg.csv"
cars <- h2o.importFile(f)
print(cars, n = 8)
}

Run the code above in your browser using DataLab