print.H2OFrame: Print An H2OFrame

Description Usage Arguments Examples

View source: R/frame.R

Description

Print An H2OFrame

Usage

1
2
## S3 method for class '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

1
2
3
4
5
6
7
8
9
## Not run: 
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)

## End(Not run)

h2o documentation built on Oct. 10, 2021, 1:08 a.m.