h2o (version 3.2.0.3)

h2o.summary: Summarizes the columns of a H2O data frame.

Description

A method for the summary generic. Summarizes the columns of an H2O data frame or subset of columns and rows using vector notation (e.g. dataset[row, col])

Usage

## S3 method for class 'H2OFrame':
summary(object, factors = 6L, ...)

Arguments

object
An H2OFrame object.
factors
The number of factors to return in the summary. Default is the top 6.
...
Further arguments passed to or from other methods.

Value

  • A table displaying the minimum, 1st quartile, median, mean, 3rd quartile and maximum for each numeric column, and the levels and category counts of the levels in each categorical column.

Examples

Run this code
library(h2o)
localH2O = h2o.init()
prosPath = system.file("extdata", "prostate.csv", package="h2o")
prostate.hex = h2o.importFile(localH2O, path = prosPath)
summary(prostate.hex)
summary(prostate.hex$GLEASON)
summary(prostate.hex[,4:6])

Run the code above in your browser using DataLab