Convert DAIFrame to R's data.frame

# S3 method for DAIFrame
as.data.frame(df, progress = getOption("dai.progress", TRUE))

Arguments

df

An instance of DAIFrame.

progress

Whether to display a progress bar.

Value

A data.frame representing the dataset.

Examples

dai.connect(uri = 'http://127.0.0.1:12345', username = 'h2oai', password = 'h2oai')
iris_dai <- as.DAIFrame(iris, progress = FALSE)
iris_df <- as.data.frame(iris_dai)