h2o (version 2.8.4.4)

as.table.H2OParsedData: Converts a parsed H2O object to a table in R.

Description

Convert an H2OParsedData object to a table, which allows subsequent data frame operations within the R environment.

Usage

## S3 method for class 'H2OParsedData':
as.table(x, \dots)

Arguments

x
An H2OParsedData object.
...
Additional arguments to be passed to or from methods.

Value

  • Returns a table in the R environment. Note that this call establishes the data set in the R environment, and subsequent operations on the table take place within R, not H2O. When data are large, users may experience significant slowdown.

Examples

Run this code
library(h2o)
localH2O = h2o.init()
prosPath = system.file("extdata", "prostate.csv", package="h2o")
prostate.hex = h2o.importFile(localH2O, path = prosPath)
prostate.table <- as.table(prostate.hex)
summary(prostate.table)
head(prostate.table)

Run the code above in your browser using DataLab