Learn R Programming

h2o (version 3.40.0.4)

h2o.print: Print An H2OFrame

Description

Print An H2OFrame

Usage

h2o.print(x, n = 6L)

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).

Examples

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

f <- "https://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_train.csv"
iris <- h2o.importFile(f)
h2o.print(iris["species"], n = 15)
}

Run the code above in your browser using DataLab