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

View source: R/frame.R

as.data.frame.H2OFrameR Documentation

Converts parsed H2O data into an R data frame

Description

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

Usage

## 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

## Not run: 
library(h2o)
h2o.init()
prostate_path <- system.file("extdata", "prostate.csv", package = "h2o")
prostate <- h2o.uploadFile(path = prostate_path)
as.data.frame(prostate)

## End(Not run)

h2o documentation built on May 29, 2024, 4:26 a.m.