h2o.summary

0th

Percentile

Summarizes the columns of an H2OFrame.

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
h2o.summary(object, factors = 6L, exact_quantiles = FALSE, ...)

# S3 method for H2OFrame summary(object, factors, exact_quantiles, ...)

Arguments
object

An H2OFrame object.

factors

The number of factors to return in the summary. Default is the top 6.

exact_quantiles

Compute exact quantiles or use approximation. Default is to use approximation.

...

Further arguments passed to or from other methods.

Details

By default it uses approximated version of quantiles computation, however, user can modify this behavior by setting up exact_quantiles argument to true.

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.

Aliases
  • h2o.summary
  • summary.H2OFrame
Examples
# NOT RUN {
library(h2o)
h2o.init()
prostate_path <- system.file("extdata", "prostate.csv", package = "h2o")
prostate <- h2o.importFile(path = prostate_path)
summary(prostate)
summary(prostate$GLEASON)
summary(prostate[,4:6])
summary(prostate, exact_quantiles=TRUE)
# }
Documentation reproduced from package h2o, version 3.22.1.1, License: Apache License (== 2.0)

Community examples

Looks like there are no examples yet.