print.H2OTable: Print method for H2OTable objects

Description Usage Arguments Value Examples

View source: R/communication.R

Description

This will print a truncated view of the table if there are more than 20 rows.

Usage

1
2
## S3 method for class 'H2OTable'
print(x, header = TRUE, ...)

Arguments

x

An H2OTable object

header

A logical value dictating whether or not the table name should be printed.

...

Further arguments passed to or from other methods.

Value

The original x object

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, header = TRUE)

## End(Not run)

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