Learn R Programming

h2o (version 3.38.0.1)

as.data.frame.H2OFrame: 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 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

Run this code
if (FALSE) {
library(h2o)
h2o.init()
prostate_path <- system.file("extdata", "prostate.csv", package = "h2o")
prostate <- h2o.uploadFile(path = prostate_path)
as.data.frame(prostate)
}

Run the code above in your browser using DataLab