as.data.frame.H2OFrame: Converts parsed H2O data into an R data frame

Description Usage Arguments Details See Also Examples

View source: R/frame.R

Description

Downloads the H2O data and then scans it in to an R data frame.

Usage

1
2
## S3 method for class 'H2OFrame'
as.data.frame(x, ...)

Arguments

x

An H2OFrame object.

...

Further arguments to be passed down from other methods.

Details

Method as.data.frame.H2OFrame will use fread if data.table package is installed in required version.

See Also

use.package

Examples

1
2
3
4
h2o.init()
prosPath <- system.file("extdata", "prostate.csv", package="h2o")
prostate.hex <- h2o.uploadFile(path = prosPath)
as.data.frame(prostate.hex)

h2o documentation built on Dec. 2, 2017, 1:04 a.m.