h2o.prod: Return the product of all the values present in its...

View source: R/frame.R

h2o.prodR Documentation

Return the product of all the values present in its arguments.

Description

Return the product of all the values present in its arguments.

Usage

h2o.prod(x)

Arguments

x

An H2OFrame object.

See Also

prod for the base R implementation.

Examples

## Not run: 
library(h2o)
h2o.init()

f <- "https://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_train.csv"
iris <- h2o.importFile(f)
h2o.prod(iris["petal_len"])

## End(Not run)

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